1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 23:55:07 +00:00

LibHTML: Add layout() overrides for LayoutText and LayoutBlock.

This commit is contained in:
Andreas Kling 2019-06-20 23:00:26 +02:00
parent 8cb0c765ca
commit 2e2b97dc8a
6 changed files with 38 additions and 0 deletions

View file

@ -26,3 +26,14 @@ const String& LayoutText::text() const
return one_space;
return node().data();
}
void LayoutText::compute_runs()
{
}
void LayoutText::layout()
{
ASSERT(!has_children());
compute_runs();
}