mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
layout: Ignore insets in Taffy for static and sticky positionings (#39401)
Taffy treats static and sticky positionings as relative. So the inset properties shifted the element in the relpos way, which was no good. It's better to just treat them as `auto` instead. Testing: 3 existing tests pass, and adding a new one. Fixes: #39399 Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
994d767ae5
commit
0de0f741b6
6 changed files with 54 additions and 14 deletions
|
@ -1,6 +0,0 @@
|
|||
[grid-column-axis-alignment-sticky-positioned-items-002.html]
|
||||
[.grid 1]
|
||||
expected: FAIL
|
||||
|
||||
[.grid 2]
|
||||
expected: FAIL
|
|
@ -1,6 +0,0 @@
|
|||
[grid-row-axis-alignment-sticky-positioned-items-002.html]
|
||||
[.grid 1]
|
||||
expected: FAIL
|
||||
|
||||
[.grid 2]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue