mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
The static-position rectangle for absolutely positioned flex children still mapped cross-axis flex-start and flex-end directly to physical start and end. That broke cases where the flex cross axis is reversed by writing mode, direction, or wrap-reverse. Teach the flex formatting context to derive the cross-axis direction from its logical axes and wrap mode, and use that when resolving cross-axis alignment for abspos static positioning. This clears the newly imported position-absolute-013 test and improves a broader set of existing flex abspos WPT baselines.