mirror of
https://github.com/RGBCube/serenity
synced 2025-06-02 17:08:12 +00:00

Each layout node is now constructed with an owning back-pointer to the style tree node that originated it.
11 lines
227 B
C++
11 lines
227 B
C++
#include <LibHTML/DOM/Element.h>
|
|
#include <LibHTML/Layout/LayoutInline.h>
|
|
|
|
LayoutInline::LayoutInline(const Node& node, const StyledNode& styled_node)
|
|
: LayoutNode(&node, styled_node)
|
|
{
|
|
}
|
|
|
|
LayoutInline::~LayoutInline()
|
|
{
|
|
}
|