mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Auto merge of #26806 - mrobinson:animations-cascade, r=emilio
Include animations and transitions in the cascade Instead of applying animations and transitions to styled elements, include them in the cascade. This allows them to interact properly with things like font-size and !important rules. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
9e528b8124
18 changed files with 409 additions and 311 deletions
|
@ -1,4 +0,0 @@
|
|||
[animation-base-response-003.html]
|
||||
[Identical elements are all responsive to font-size animation]
|
||||
expected: FAIL
|
||||
|
|
@ -89,66 +89,3 @@
|
|||
[Web Animations: property <opacity> from [initial\] to [0.2\] at (0.3) should be [0.76\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [initial\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [initial\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [0\] to [1\] at (1.5) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [initial\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [0\] to [1\] at (1.5) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [0\] to [1\] at (1.5) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[non-rendered-element-001.html]
|
||||
[Transitions do not run for an element newly rendered]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[transition-base-response-003.html]
|
||||
[Identical elements are all responsive to font-size transition]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[animation-base-response-003.html]
|
||||
[Identical elements are all responsive to font-size animation]
|
||||
expected: FAIL
|
||||
|
|
@ -5,24 +5,9 @@
|
|||
[Web Animations: property <opacity> from [0\] to [1\] at (0) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [initial\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [inherit\] to [0.2\] at (0.3) should be [0.62\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [0\] to [1\] at (1.5) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [initial\] to [0.2\] at (0.6) should be [0.52\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -44,9 +29,6 @@
|
|||
[Web Animations: property <opacity> from [inherit\] to [0.2\] at (-0.3) should be [0.98\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -56,15 +38,6 @@
|
|||
[Web Animations: property <opacity> from [initial\] to [0.2\] at (0) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [initial\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [0\] to [1\] at (0.3) should be [0.3\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -74,9 +47,6 @@
|
|||
[Web Animations: property <opacity> from [inherit\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [0\] to [1\] at (1.5) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [unset\] to [0.2\] at (1) should be [0.2\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -86,12 +56,6 @@
|
|||
[Web Animations: property <opacity> from [inherit\] to [0.2\] at (0.6) should be [0.44\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [initial\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -101,12 +65,6 @@
|
|||
[Web Animations: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [unset\] to [0.2\] at (1.5) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [0\] to [1\] at (1.5) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -131,27 +89,6 @@
|
|||
[Web Animations: property <opacity> from neutral to [0.2\] at (-0.3) should be [0.07\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Animations: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[Web Animations: property <opacity> from [initial\] to [0.2\] at (0.3) should be [0.76\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [initial\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [0\] to [1\] at (-0.3) should be [0\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
[CSS Transitions with transition: all: property <opacity> from [unset\] to [0.2\] at (-0.3) should be [1\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[non-rendered-element-001.html]
|
||||
[Transitions do not run for an element newly rendered]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[transition-base-response-003.html]
|
||||
[Identical elements are all responsive to font-size transition]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue