Commit graph

5 commits

Author SHA1 Message Date
Andreas Kling
2e2b97dc8a LibHTML: Add layout() overrides for LayoutText and LayoutBlock. 2019-06-20 23:00:26 +02:00
Andreas Kling
0db2f3cbe6 LibHTML: Add a Frame class, start fleshing out recursive layout.
Layout is initiated from Frame::layout(). It makes the document's layout
node as wide as the frame, and then we'll take it from there.
2019-06-16 21:35:03 +02:00
Andreas Kling
e3d3e431dc LibHTML: Add a LayoutStyle object (computed style for a LayoutNode.) 2019-06-16 13:44:09 +02:00
Andreas Kling
fec098b5cd LibHTML: Give LayoutNodes a rect.
Also improve the layout tree dump format somewhat.
2019-06-16 12:26:24 +02:00
Andreas Kling
1f51c2b7da LibHTML: Create some subdirectories. 2019-06-15 23:41:15 +02:00
Renamed from LibHTML/LayoutNode.h (Browse further)