mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 23:53:20 +00:00
14 lines
325 B
C++
14 lines
325 B
C++
![]() |
#include <LibHTML/DOM/Element.h>
|
||
|
#include <LibHTML/Layout/LayoutReplaced.h>
|
||
|
|
||
|
LayoutReplaced::LayoutReplaced(const Element& element, NonnullRefPtr<StyleProperties> style)
|
||
|
: LayoutNode(&element, move(style))
|
||
|
{
|
||
|
// FIXME: Allow non-inline replaced elements.
|
||
|
set_inline(true);
|
||
|
}
|
||
|
|
||
|
LayoutReplaced::~LayoutReplaced()
|
||
|
{
|
||
|
}
|