mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Implement the unreachable scrollable overflow
Whenever we end up with a scrollable overflow rect that goes beyond either of its axes (i.e. the rect has a negative X or Y position relative to its parent's absolute padding box position), we need to clip that rect to prevent going into the "unreachable scrollable overflow". This fixes the horizontal scrolling on https://ladybird.org (gets more pronounced if you make the window very narrow).
This commit is contained in:
parent
05ddf5c718
commit
2998049fe9
Notes:
github-actions[bot]
2025-07-11 06:24:49 +00:00
Author: https://github.com/gmta
Commit: 2998049fe9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5384
33 changed files with 140 additions and 98 deletions
|
@ -0,0 +1 @@
|
|||
html scrollWidth: 800
|
|
@ -2,16 +2,16 @@ Harness status: OK
|
|||
|
||||
Found 11 tests
|
||||
|
||||
4 Pass
|
||||
7 Fail
|
||||
Fail .flexbox 1
|
||||
Fail .flexbox 2
|
||||
Fail .flexbox 3
|
||||
7 Pass
|
||||
4 Fail
|
||||
Pass .flexbox 1
|
||||
Pass .flexbox 2
|
||||
Pass .flexbox 3
|
||||
Pass .flexbox 4
|
||||
Pass .flexbox 5
|
||||
Fail .flexbox 5
|
||||
Fail .flexbox 6
|
||||
Fail .flexbox 7
|
||||
Fail .flexbox 8
|
||||
Pass .flexbox 8
|
||||
Pass .flexbox 9
|
||||
Pass .flexbox 10
|
||||
Fail .flexbox 11
|
Loading…
Add table
Add a link
Reference in a new issue