servo/components/layout_2020/flexbox
Oriol Brufau a37ccc3e64
Use natural ratio for object-fit (#34413)
We were using the preferred aspect ratio provided by the `aspect-ratio`
property instead of the natural aspect ratio. However, the preferred
aspect ratio should only be used to size the replaced element. To paint
the replaced contents into that element we need the natural ratio.

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2024-11-28 12:57:38 +00:00
..
geom.rs layout: Add initial support for bidirectional text (BiDi) (#33148) 2024-08-21 14:28:54 +00:00
layout.rs Use natural ratio for object-fit (#34413) 2024-11-28 12:57:38 +00:00
mod.rs Layout: Implement CSS Grid using taffy (#32619) 2024-11-21 20:21:01 +00:00