2019-06-15 22:49:44 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
2019-06-15 23:41:15 +02:00
|
|
|
#include <LibHTML/Layout/LayoutNode.h>
|
2019-06-15 22:49:44 +02:00
|
|
|
|
|
|
|
|
class Element;
|
|
|
|
|
|
|
|
|
|
class LayoutInline : public LayoutNode {
|
|
|
|
|
public:
|
2019-09-21 15:32:17 +03:00
|
|
|
LayoutInline(const Node&, StyleProperties&&);
|
2019-06-15 22:49:44 +02:00
|
|
|
virtual ~LayoutInline() override;
|
|
|
|
|
|
|
|
|
|
virtual const char* class_name() const override { return "LayoutInline"; }
|
2019-07-08 17:42:23 +02:00
|
|
|
virtual bool is_inline() const override { return true; }
|
2019-06-15 22:49:44 +02:00
|
|
|
|
2019-09-25 12:30:13 +03:00
|
|
|
virtual void layout() override;
|
|
|
|
|
|
2019-06-15 22:49:44 +02:00
|
|
|
private:
|
|
|
|
|
};
|