1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:47:35 +00:00

LibHTML: Start fleshing out block layout.

The basic idea of block layout is: width, then children based on width,
then height based on height of children.
This commit is contained in:
Andreas Kling 2019-07-01 07:28:37 +02:00
parent f1a0e8b8e6
commit 22fec1a250
5 changed files with 32 additions and 2 deletions

View file

@ -12,7 +12,19 @@ LayoutBlock::~LayoutBlock()
void LayoutBlock::layout()
{
compute_width();
LayoutNode::layout();
compute_height();
}
void LayoutBlock::compute_width()
{
}
void LayoutBlock::compute_height()
{
}