mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:05:07 +00:00

We now create a layout tree directly from the DOM tree. This way we don't actually lose text nodes ^)
16 lines
361 B
C++
16 lines
361 B
C++
#pragma once
|
|
|
|
#include <LibHTML/Layout/LayoutNode.h>
|
|
|
|
class Element;
|
|
|
|
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; }
|
|
|
|
private:
|
|
};
|