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:
parent
8cb0c765ca
commit
2e2b97dc8a
6 changed files with 38 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue