2019-06-15 18:41:15 -03:00
|
|
|
#include <LibHTML/Layout/LayoutDocument.h>
|
2019-06-15 17:49:44 -03:00
|
|
|
|
2019-07-03 02:19:29 -03:00
|
|
|
LayoutDocument::LayoutDocument(const Document& document, const StyledNode& styled_node)
|
2019-07-08 12:42:23 -03:00
|
|
|
: LayoutBlock(&document, &styled_node)
|
2019-06-15 17:49:44 -03:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
LayoutDocument::~LayoutDocument()
|
|
|
|
|
{
|
|
|
|
|
}
|
2019-06-16 16:35:03 -03:00
|
|
|
|
|
|
|
|
void LayoutDocument::layout()
|
|
|
|
|
{
|
|
|
|
|
rect().set_width(style().size().width());
|
|
|
|
|
LayoutNode::layout();
|
|
|
|
|
}
|