mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Fix grid abspos descendant placement
Use the absolutely positioned box's own grid placement to resolve the grid-area containing block rectangle instead of inheriting the nearest in-flow grid item's area. Keep the grid-specific static-position handling for axes with both insets auto, but resolve mixed auto and explicit grid placement axes against the augmented grid for direct children as well as descendants inside grid items. This fixes the imported abspos and alignment WPTs for values like grid-row: 1 and grid-column: auto / 1 while keeping the reduced descendant regressions passing.
This commit is contained in:
committed by
Andreas Kling
parent
e2e8c04446
commit
9450fcb2b0
Notes:
github-actions[bot]
2026-04-04 12:36:45 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/9450fcb2b08 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8763
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
@@ -2,8 +2,9 @@ Harness status: OK
|
||||
|
||||
Found 4 tests
|
||||
|
||||
4 Fail
|
||||
Fail .grid 1
|
||||
1 Pass
|
||||
3 Fail
|
||||
Pass .grid 1
|
||||
Fail .grid 2
|
||||
Fail .grid 3
|
||||
Fail .grid 4
|
||||
Reference in New Issue
Block a user