2019-06-15 23:41:15 +02:00
|
|
|
#include <LibHTML/DOM/Element.h>
|
|
|
|
#include <LibHTML/Layout/LayoutBlock.h>
|
2019-06-15 22:49:44 +02:00
|
|
|
|
2019-06-29 21:42:07 +02:00
|
|
|
LayoutBlock::LayoutBlock(const Node& node)
|
|
|
|
: LayoutNode(&node)
|
2019-06-15 22:49:44 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
LayoutBlock::~LayoutBlock()
|
|
|
|
{
|
|
|
|
}
|
2019-06-20 23:00:26 +02:00
|
|
|
|
|
|
|
void LayoutBlock::layout()
|
|
|
|
{
|
2019-07-01 07:28:37 +02:00
|
|
|
compute_width();
|
|
|
|
|
2019-06-20 23:00:26 +02:00
|
|
|
LayoutNode::layout();
|
|
|
|
|
2019-07-01 07:28:37 +02:00
|
|
|
compute_height();
|
|
|
|
}
|
|
|
|
|
|
|
|
void LayoutBlock::compute_width()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void LayoutBlock::compute_height()
|
|
|
|
{
|
2019-06-20 23:00:26 +02:00
|
|
|
}
|