Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox/negative-overflow.txt
Andreas Kling 1bfcf49ffe LibWeb: Honor reversed axes for flex overflow
Scrollable overflow still assumed a top-left scroll origin and only
added trailing padding on the physical bottom edge. That broke
scrollWidth and scrollHeight for flex containers whose main or cross
axis was reversed by writing-mode, direction, flex-direction, or
wrap-reverse.

Teach flex layout to place wrapped lines using the computed cross-axis
direction and to measure scrollable overflow from the container's
actual scroll origin so reachable reversed overflow is preserved, the
unreachable side is clipped, and end padding is added on the correct
physical edge.

Keep per-item cross-axis placement using the existing behavior.
Applying full cross-axis reversal there regressed baseline alignment
tests, and zero-sized boxes exactly at the scroll origin must still
contribute descendant overflow, so the unreachable-overflow checks
need strict comparisons.

This makes negative-overflow-002 and negative-overflow-003 pass and
improves negative-overflow, align-content-wrap-003, and
overflow-with-padding.
2026-04-05 10:42:32 +02:00

17 lines
227 B
Plaintext

Harness status: OK
Found 11 tests
9 Pass
2 Fail
Pass .flexbox 1
Pass .flexbox 2
Pass .flexbox 3
Pass .flexbox 4
Pass .flexbox 5
Fail .flexbox 6
Fail .flexbox 7
Pass .flexbox 8
Pass .flexbox 9
Pass .flexbox 10
Pass .flexbox 11