servo/components/layout_2020/flow
Oriol Brufau 1c321a17ac
Treat % as 0 for the min-content contribution of replaced elements (#32103)
`width` and `max-width` typically treat expressions with percentages as
their initial value, but for the min-content contribution of replaced
elements, they should instead be treated as zero.

https://drafts.csswg.org/css-sizing-3/#replaced-percentage-min-contribution

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-01-06 14:43:30 +00:00
..
inline Elide lifetimes where possible after rustup (#34824) 2025-01-03 18:54:44 +00:00
construct.rs Make sure to cache inline_content_sizes() (#34586) 2024-12-12 01:37:05 +00:00
float.rs Use inline-start/inline-end instead of left/right terminology for floats (#34608) 2024-12-13 16:37:35 +00:00
mod.rs Treat % as 0 for the min-content contribution of replaced elements (#32103) 2025-01-06 14:43:30 +00:00
root.rs layout: Clean up inline layout data types a bit (#34563) 2024-12-11 14:40:34 +00:00