mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
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.
50 lines
789 B
Plaintext
50 lines
789 B
Plaintext
Harness status: OK
|
|
|
|
Found 44 tests
|
|
|
|
40 Pass
|
|
4 Fail
|
|
Pass .flexbox 1
|
|
Pass .flexbox 2
|
|
Pass .flexbox 3
|
|
Pass .flexbox 4
|
|
Pass .flexbox 5
|
|
Pass .flexbox 6
|
|
Pass .flexbox 7
|
|
Pass .flexbox 8
|
|
Pass .flexbox 9
|
|
Pass .flexbox 10
|
|
Pass .flexbox 11
|
|
Fail .flexbox 12
|
|
Fail .flexbox 13
|
|
Pass .flexbox 14
|
|
Pass .flexbox 15
|
|
Pass .flexbox 16
|
|
Pass .flexbox 17
|
|
Pass .flexbox 18
|
|
Pass .flexbox 19
|
|
Pass .flexbox 20
|
|
Pass .flexbox 21
|
|
Pass .flexbox 22
|
|
Pass .flexbox 23
|
|
Pass .flexbox 24
|
|
Pass .flexbox 25
|
|
Pass .flexbox 26
|
|
Pass .flexbox 27
|
|
Pass .flexbox 28
|
|
Pass .flexbox 29
|
|
Pass .flexbox 30
|
|
Pass .flexbox 31
|
|
Pass .flexbox 32
|
|
Pass .flexbox 33
|
|
Fail .flexbox 34
|
|
Fail .flexbox 35
|
|
Pass .flexbox 36
|
|
Pass .flexbox 37
|
|
Pass .flexbox 38
|
|
Pass .flexbox 39
|
|
Pass .flexbox 40
|
|
Pass .flexbox 41
|
|
Pass .flexbox 42
|
|
Pass .flexbox 43
|
|
Pass .flexbox 44 |