1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 23:05:07 +00:00
serenity/LibHTML/Layout/LayoutBlock.cpp
Andreas Kling 7eef69ad4b LibHTML: Refactor to go from DOM -> styled tree -> layout tree.
Frame::layout() drives everything now, it takes the DOM contained in the
frame and puts it through the tree transformations.
2019-06-29 21:42:07 +02:00

18 lines
238 B
C++

#include <LibHTML/DOM/Element.h>
#include <LibHTML/Layout/LayoutBlock.h>
LayoutBlock::LayoutBlock(const Node& node)
: LayoutNode(&node)
{
}
LayoutBlock::~LayoutBlock()
{
}
void LayoutBlock::layout()
{
LayoutNode::layout();
}