Andreas Kling
|
c9700e100e
LibWeb: Start making our layout system "transactional"
|
3 years ago |
Andreas Kling
|
561612f219
LibWeb: Add Layout::FormattingState
|
3 years ago |
Sam Atkins
|
356d8bcfe8
LibWeb: Remove Length::Type::Undefined! :^)
|
3 years ago |
Sam Atkins
|
b715943035
LibWeb: Remove redundant Length::resolved() calls
|
3 years ago |
Sam Atkins
|
67066c5140
LibWeb: Remove fallback value from Length::resolved()
|
3 years ago |
Sam Atkins
|
5b2482a939
LibWeb: Use Optional instead of undefined-lengths for widths/heights
|
3 years ago |
Andreas Kling
|
dcc2568439
LibWeb: Make IFC register absolutely positioned descendants with BFC
|
3 years ago |
Andreas Kling
|
f2a917229a
LibWeb: Support inline-level padding and border properly
|
3 years ago |
Andreas Kling
|
7d2a49eeb8
LibWeb: Always assign box model metrics in IFC::dimension_box_on_line()
|
3 years ago |
Andreas Kling
|
0532d7d255
LibWeb: Stop sizing the context root box in formatting contexts
|
3 years ago |
Andreas Kling
|
0608de8c12
LibWeb: Rename Layout::Box::size() to content_size()
|
3 years ago |
Sam Atkins
|
ce0de4b2b4
LibWeb: Allow LengthPercentage to hold a calculated value
|
3 years ago |
Andreas Kling
|
9201f626c1
LibWeb: Use BFC root relative coordinates when flowing around floats
|
3 years ago |
Andreas Kling
|
00bd17034d
LibWeb: Make IFC aware that its parent is always a BFC
|
3 years ago |
Andreas Kling
|
29589378ff
LibWeb: Remove unused InlineFormattingContext::available_width_at_line()
|
3 years ago |
Andreas Kling
|
0ea438e45b
LibWeb: Put BFC floating object state into a struct
|
3 years ago |
Andreas Kling
|
70a56d21dc
LibWeb: Don't do horizontal inline line layout twice for last line
|
3 years ago |
Andreas Kling
|
9f39ad8929
LibWeb: Ignore some collapsible whitespace when building lines
|
3 years ago |
Andreas Kling
|
2b631cde45
LibWeb: Avoid creating an empty first line box in block containers
|
3 years ago |
Andreas Kling
|
d3adc94ce8
LibWeb: Dimension inline-block boxes before deciding about line breaks
|
3 years ago |
Andreas Kling
|
ce8043c6c2
LibWeb: Use LineBuilder in IFC to layout line boxes incrementally
|
3 years ago |
Andreas Kling
|
39b2046c42
LibWeb: Move available_space_for_line() into InlineFormattingContext
|
3 years ago |
Andreas Kling
|
1f603c54ff
LibWeb: Add inline-level iterator that enumerates items for line layout
|
3 years ago |
Sam Atkins
|
bfcbab0dcf
LibWeb: Remove reference_for_percent parameter from Length::resolved()
|
3 years ago |
Sam Atkins
|
dc681913e8
LibWeb: Convert width/height and min-/max- versions to LengthPercentage
|
3 years ago |
Sam Atkins
|
7196570f9b
LibWeb: Cast unused smart-pointer return values to void
|
3 years ago |
Andreas Kling
|
7ec7729e1b
LibWeb: Don't force line box fragments height to be at least line-height
|
3 years ago |
Andreas Kling
|
f2d0e8d0ee
LibWeb: Expose FormattingContext type
|
3 years ago |
Andreas Kling
|
f73aa8e2bd
LibWeb: Move line boxes from Layout::Box to BlockContainer
|
3 years ago |
Andreas Kling
|
c4826eae4f
LibWeb: Rename Layout::BlockBox => BlockContainer
|
3 years ago |