Andreas Kling
|
c24d317d8f
LibWeb: Remove some unnecessary static_casts to Layout::Box&
|
1 年之前 |
Zaggy1024
|
e3f693ca7c
LibWeb: Resolve replaced element size constraints using aspect ratios
|
1 年之前 |
Zaggy1024
|
051f357110
LibWeb: Treat replaced size constraint resolutions as mutually exclusive
|
1 年之前 |
Zaggy1024
|
34c5043cbe
LibWeb: Use `CSSPixelFraction` to represent aspect ratios
|
1 年之前 |
Andreas Kling
|
50d72f0d8c
LibWeb: Handle case where abspos flex child position depends on height
|
1 年之前 |
Andreas Kling
|
f77256fcba
LibWeb: Use should_height_treat_as_auto() consistently in abspos layout
|
1 年之前 |
Zaggy1024
|
8852561967
LibWeb: Make use of fractions in `solve_replaced_size_constraint()`
|
1 年之前 |
Aliaksandr Kalenik
|
0fb571c1c2
LibWeb: Add `Length::resolved()` overload for CSSPixels
|
1 年之前 |
MacDue
|
71baa8c31a
LibWeb: Add CSSPixels::nearest_value_for(FloatingPoint)
|
1 年之前 |
MacDue
|
360c0eb509
LibWeb: Remove implicit conversion from float and double to CSSPixels
|
1 年之前 |
Andi Gallo
|
bab1d09d92
LibWeb: Derive baseline from rightmost descendant
|
1 年之前 |
Andreas Kling
|
27ddfa84fa
LibWeb: Accept height: {min,max,fit}-content
|
1 年之前 |
Aliaksandr Kalenik
|
37bd216c52
LibWeb: Ignore % max-width if box is sized under max-content constraint
|
1 年之前 |
Aliaksandr Kalenik
|
e9a718ff88
LibWeb/Layout: Replace `INFINITY` with `CSSPixels::min()` or `max()`
|
1 年之前 |
Aliaksandr Kalenik
|
f2a15ecea7
LibWeb/Layout: Replace `isfinite()` with `might_be_saturated()`
|
1 年之前 |
Andreas Kling
|
88949b10d8
LibWeb: Make containing_block_{width,height}_for(...) take non-box nodes
|
1 年之前 |
Aliaksandr Kalenik
|
4646867a9f
LibWeb: Replace to_px() with to_px_or_zero() in FormattingContext
|
1 年之前 |
Aliaksandr Kalenik
|
e25b1f76e1
LibWeb: Forbid usage of indefinite width in calculate_min{max}_height
|
1 年之前 |
Andi Gallo
|
3e70c1b6a3
LibWeb: Improve precision when computing size of replaced elements
|
1 年之前 |
Aliaksandr Kalenik
|
1f28fdacf0
LibWeb: Set max-width for inline child boxes after inside layout
|
1 年之前 |
Christophe Naud-Dulude
|
4f9f21e8fe
LibWeb: Only derive baseline from children with a non-empty line box
|
1 年之前 |
Andreas Kling
|
ccf35a973f
LibWeb: Derive box baseline from last child *with line boxes*
|
2 年之前 |
Andreas Kling
|
ac124fbaae
LibWeb: Resolve flex item percentages against used flex container sizes
|
2 年之前 |
Andreas Kling
|
db5bde01dc
LibWeb: Resolve % top and bottom insets against containing block height
|
2 年之前 |
Sebastian Zaha
|
fd37ad3a84
LibWeb: Fix absolute positioning issues
|
2 年之前 |
Sebastian Zaha
|
61fe7c230f
LibWeb: Implement abspos for replaced elements
|
2 年之前 |
Andreas Kling
|
3f022f4040
LibWeb: Treat non-finite containing block width as zero for percentages
|
2 年之前 |
Andreas Kling
|
c808f6c637
LibWeb: Don't use BFC auto height for non-BFC abspos elements
|
2 年之前 |
Aliaksandr Kalenik
|
ca0c2339f4
LibWeb: Use padding box of containing block to resolve % height size
|
2 年之前 |
Andreas Kling
|
c374541711
LibWeb: Use correct reference for abspos elements with % height sizes
|
2 年之前 |