Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox/negative-overflow-003.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

53 lines
946 B
Plaintext

Harness status: OK
Found 48 tests
48 Pass
Pass .container 1
Pass .container 2
Pass .container 3
Pass .container 4
Pass .container 5
Pass .container 6
Pass .container 7
Pass .container 8
Pass .container 9
Pass .container 10
Pass .container 11
Pass .container 12
Pass .container 13
Pass .container 14
Pass .container 15
Pass .container 16
Pass .container 17
Pass .container 18
Pass .container 19
Pass .container 20
Pass .container 21
Pass .container 22
Pass .container 23
Pass .container 24
Pass .container 25
Pass .container 26
Pass .container 27
Pass .container 28
Pass .container 29
Pass .container 30
Pass .container 31
Pass .container 32
Pass .container 33
Pass .container 34
Pass .container 35
Pass .container 36
Pass .container 37
Pass .container 38
Pass .container 39
Pass .container 40
Pass .container 41
Pass .container 42
Pass .container 43
Pass .container 44
Pass .container 45
Pass .container 46
Pass .container 47
Pass .container 48