Andreas Kling
|
c9700e100e
LibWeb: Start making our layout system "transactional"
|
3 years ago |
Andreas Kling
|
561612f219
LibWeb: Add Layout::FormattingState
|
3 years ago |
Andreas Kling
|
c04c2df0f7
LibWeb: Add missing is_length() check in FFC::is_cross_auto()
|
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
|
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
|
00bd17034d
LibWeb: Make IFC aware that its parent is always a BFC
|
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
|
cb0cce5cdc
LibWeb: Convert flex-basis to LengthPercentage
|
3 years ago |
Sam Atkins
|
7196570f9b
LibWeb: Cast unused smart-pointer return values to void
|
3 years ago |
Andreas Kling
|
ca154723f7
LibWeb: Remove Layout::Box::width_of_logical_containing_block()
|
3 years ago |
Andreas Kling
|
c1ba9c66b5
LibWeb: Use is_single_line() and add spec comments to FFC step 8
|
3 years ago |
Andreas Kling
|
07f15aa550
LibWeb: Make computed flex-grow and flex-shrink always available
|
3 years ago |
Andreas Kling
|
f2d0e8d0ee
LibWeb: Expose FormattingContext type
|
3 years ago |
Andreas Kling
|
410e2b43ce
LibWeb: Use Box::has_intrinsic_aspect_ratio() check in FFC step 3
|
3 years ago |
Andreas Kling
|
42f6bd5f83
LibWeb: Add spec comments to FFC layout algorithm step 2
|
3 years ago |
Andreas Kling
|
1d0c4a07ff
LibWeb: Add spec comments to FFC layout algorithm step 5
|
3 years ago |
Andreas Kling
|
82bb5ef8b7
LibWeb: Tidy up and add spec comments to FFC layout algorithm step 3
|
3 years ago |
Andreas Kling
|
d37e5dc64c
LibWeb: Add FFC::flex_container() and use throughout
|
3 years ago |
Andreas Kling
|
1580c59f39
LibWeb: Make FFC line and item vectors members instead of locals
|
3 years ago |
Andreas Kling
|
c793797e61
LibWeb: Make various function parameters const in FlexFormattingContext
|
3 years ago |
Andreas Kling
|
9359df4be9
LibWeb: Move FFC layout algorithm step 16 to a separate function
|
3 years ago |
Andreas Kling
|
f401794d23
LibWeb: Move FFC layout algorithm step 15 to a separate function
|
3 years ago |
Andreas Kling
|
6d433c99f4
LibWeb: Move FFC layout algorithm step 14 to a separate function
|
3 years ago |
Andreas Kling
|
e590e17b8a
LibWeb: Move FFC layout algorithm step 12 to a separate function
|
3 years ago |
Andreas Kling
|
176f1ad214
LibWeb: Move FFC layout algorithm step 11 to a separate function
|
3 years ago |