mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
Fix an assertion failure in Layout 2020
The recent changes to containing blocks, exposed an issue in the StyleExt trait: - When deciding whether an element creates a reference frame, whether or not it is a non-replaced inline is taken into account when determining if it has a transform. - When deciding whether an element creates a stacking context for all descendants, whether or not it is a non-replaced inline is *not* taken into account when determining if it has a transform. In both cases, elements that are inline should not be considered to have transforms. This commit fixes that issue as well as making it so that inlines cannot be transformed. Note that is also breaks transforms on replaced elements, but that functionality was fairly half-baked due to the inconsistent determination of transforms.
This commit is contained in:
parent
4e37d07ea4
commit
932dc72402
13 changed files with 28 additions and 17 deletions
|
@ -1,2 +0,0 @@
|
|||
[css-transforms-3d-on-anonymous-block-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[perspective-untransformable-no-stacking-context.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[transform-applies-to-002.xht]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[transform-inline-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transform-table-001.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transform-table-002.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transform-table-003.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transform-table-004.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transform-table-005.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[transform3d-image-scale-001.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[filter-cb-abspos-inline-002.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[element_parentOffset.html]
|
||||
[element_parentOffset]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue