ladybird/Libraries/LibHTML/Layout/LayoutInline.cpp
Sergey Bugaev fd0aa5dd43 LibHTML: Get rid of the style tree
We now create a layout tree directly from the DOM tree.
This way we don't actually lose text nodes ^)
2019-09-28 18:29:42 +02:00

11 lines
243 B
C++

#include <LibHTML/DOM/Element.h>
#include <LibHTML/Layout/LayoutInline.h>
LayoutInline::LayoutInline(const Node& node, StyleProperties&& style_properties)
: LayoutNode(&node, move(style_properties))
{
}
LayoutInline::~LayoutInline()
{
}