
We now create a layout tree directly from the DOM tree. This way we don't actually lose text nodes ^)
11 lines
243 B
C++
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()
|
|
{
|
|
}
|