mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:25:07 +00:00

Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
16 lines
323 B
C++
16 lines
323 B
C++
#include <LibHTML/Layout/LayoutDocument.h>
|
|
|
|
LayoutDocument::LayoutDocument(const Document& document, const StyledNode& styled_node)
|
|
: LayoutBlock(document, styled_node)
|
|
{
|
|
}
|
|
|
|
LayoutDocument::~LayoutDocument()
|
|
{
|
|
}
|
|
|
|
void LayoutDocument::layout()
|
|
{
|
|
rect().set_width(style().size().width());
|
|
LayoutNode::layout();
|
|
}
|