1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 20:28:11 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Andreas Kling
33ac0de988 LibHTML: Add Length and LengthBox classes.
We need a way to represent values that are "auto", so adding a Length class
seems like the easiest way to achieve that.
2019-07-01 17:17:32 +02:00
Andreas Kling
22fec1a250 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.
2019-07-01 07:31:04 +02:00
Andreas Kling
7eef69ad4b LibHTML: Refactor to go from DOM -> styled tree -> layout tree.
Frame::layout() drives everything now, it takes the DOM contained in the
frame and puts it through the tree transformations.
2019-06-29 21:42:07 +02:00
Andreas Kling
2e2b97dc8a LibHTML: Add layout() overrides for LayoutText and LayoutBlock. 2019-06-20 23:00:26 +02:00
Andreas Kling
1f51c2b7da LibHTML: Create some subdirectories. 2019-06-15 23:41:15 +02:00
Renamed from LibHTML/LayoutBlock.cpp (Browse further)