Aliaksandr Kalenik
|
fe8304d5de
LibWeb: Introduce structure that maintains collapsible margins in BFC
|
2 years ago |
Sam Atkins
|
ab49dbf137
LibWeb: Convert Paintable coordinates to new pixel units
|
2 years ago |
Andreas Kling
|
e3b8a8f7c8
LibWeb: Treat unresolvable percentage width on inline-block as auto
|
2 years ago |
Andreas Kling
|
6d18164ab0
LibWeb: Apply min-width and max-width constraints to inline-block boxes
|
2 years ago |
Andreas Kling
|
97bbb630c8
LibWeb: Make IFC happy to layout anything as long as it's inline outside
|
2 years ago |
Andreas Kling
|
2baad565ca
LibWeb: Remove bogus verify_cast when dimensioning inline-blocks
|
2 years ago |
Andreas Kling
|
9c44634ca5
LibWeb: Reorganize layout algorithms around available space
|
2 years ago |
Andreas Kling
|
f161e20e57
LibWeb: Make FormattingContext::run() take available space as input
|
2 years ago |
Andreas Kling
|
62974160da
LibWeb: Add FormattingContext::automatic_content_height()
|
2 years ago |
Andreas Kling
|
412b2313f3
LibWeb: Improve inline flow around floating boxes
|
2 years ago |
Ben Wiederhake
|
8deced39a8
LibWeb: Resolve cyclic declaration/definitions involving Length
|
2 years ago |
Andreas Kling
|
71ca857b67
LibWeb: Break lines until we have enough space between floats
|
2 years ago |
Andreas Kling
|
af73a5d921
LibWeb: Use correct box edge when looking for space between floats
|
2 years ago |
Andreas Kling
|
514fa83708
LibWeb: Improve `float: right` behavior
|
2 years ago |
Andreas Kling
|
ab6af4c9a0
LibWeb: Remove unused member LineBuilder::m_layout_mode
|
2 years ago |
Andreas Kling
|
83bb16ede3
LibWeb: Avoid some unnecessary inside layouts during intrinsic sizing
|
3 years ago |
Andreas Kling
|
ed8930fff5
LibWeb: Add accessors for UsedValues::computed_{width,height}
|
3 years ago |
Andreas Kling
|
52862c72d0
LibWeb: Rename FormattingState to LayoutState
|
3 years ago |
Andreas Kling
|
e78282aebb
LibWeb: Make sure we always apply size constraints in IFC
|
3 years ago |
Andreas Kling
|
7713198e9c
LibWeb: Cache a pointer to the containing block state in IFC
|
3 years ago |
Andreas Kling
|
64959a8504
LibWeb: Express intrinsic size layout via size constraints
|
3 years ago |
Andreas Kling
|
66d08d2417
LibWeb: Move IFC result measurement from IFC to BFC
|
3 years ago |
Andreas Kling
|
cefc931347
LibWeb: Make sure CSS::ComputedValues has initial size values
|
3 years ago |
Enver Balalic
|
7381474835
LibWeb: Don't break text lines if white-space: nowrap
|
3 years ago |
Andreas Kling
|
6a4247bee9
LibWeb: Use more precise font metrics when doing inline layout
|
3 years ago |
Andreas Kling
|
f4ed4b2806
LibWeb: Swallow whitespace when it causes us to break the line
|
3 years ago |
Andreas Kling
|
5def3b0150
LibWeb: Use LineBox::height() when determining IFC auto heights
|
3 years ago |
Andreas Kling
|
f9e8f02451
LibWeb: Don't crash in IFC if very first chunk is collapsible whitespace
|
3 years ago |
Andreas Kling
|
aefe1727fc
LibWeb: Make text newlines in "pre" mode emit a ForcedBreak item
|
3 years ago |
Andreas Kling
|
d32630e17b
LibWeb: Don't append collapsible whitespace to start of new line
|
3 years ago |