summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Layout/LayoutInline.h
blob: c8dcfb0625f495c6a6feb4967b62a4f8b82fb692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <LibHTML/Layout/LayoutNode.h>

class Element;
class LayoutBlock;

class LayoutInline : public LayoutNode {
public:
    LayoutInline(const Node&, StyleProperties&&);
    virtual ~LayoutInline() override;

    virtual const char* class_name() const override { return "LayoutInline"; }
    virtual bool is_inline() const override { return true; }

    virtual void layout() override;

    virtual void split_into_lines(LayoutBlock& container);

private:
};