servo/components/script/layout_dom
Oriol Brufau 9264ef1a95
layout: Ensure IFC for abspos with inline-level original display (#39041)
Absolutely positioned elements get blockified, but their static position
still depends on the original display. Therefore, if we encounter an
abspos with an inline-level original display, we will now ensure that
it's handled in an inline formatting context. This way its static
position will correctly take into account things like `text-align`.

Testing: Several WPT tests are now passing.
Fixes: #39017

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-09-02 03:43:55 +00:00
..
document.rs cargo: Bump rustc to 1.89 (#36818) 2025-08-19 11:07:53 +00:00
element.rs layout: Ensure IFC for abspos with inline-level original display (#39041) 2025-09-02 03:43:55 +00:00
mod.rs Eliminate duplicate Layout DOM wrappers 2023-05-05 17:16:38 +02:00
node.rs layout: Support storing layout data for two-level nested pseudo-elements (#38678) 2025-08-14 13:41:34 +00:00
shadow_root.rs script: Wrapping unsafe code in unsafe blocks for basic DOM types (#37997) 2025-07-11 11:38:02 +00:00