mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
Since LayoutText no longer inherits from LayoutInline, all of the DOM nodes with a LayoutInline are going to be Elements.
14 lines
305 B
C++
14 lines
305 B
C++
#include <LibHTML/DOM/Element.h>
|
|
#include <LibHTML/Layout/LayoutBlock.h>
|
|
#include <LibHTML/Layout/LayoutInline.h>
|
|
|
|
LayoutInline::LayoutInline(const Element& element, NonnullRefPtr<StyleProperties> style)
|
|
: LayoutNode(&element, move(style))
|
|
{
|
|
set_inline(true);
|
|
}
|
|
|
|
LayoutInline::~LayoutInline()
|
|
{
|
|
}
|