mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Auto merge of #26923 - mrobinson:pseudo-animations-2, r=emilio
Add animation and transition support for pseudo-elements This change extends the DocumentAnimationSet to hold animations for pseudo-elements. Since pseudo-elements in Servo are not in the DOM like in Gecko, they need to be handled a bit carefully in stylo. When a pseudo-element has an animation, recascade the style. Finally, this change passes the pseudo-element string properly to animation events. --- <!-- 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] These changes fix #10316 - [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
a84b06065b
19 changed files with 359 additions and 138 deletions
|
@ -1,5 +0,0 @@
|
|||
[animationevent-pseudoelement.html]
|
||||
expected: TIMEOUT
|
||||
[AnimationEvent should have the correct pseudoElement memeber]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
[events-006.html]
|
||||
expected: TIMEOUT
|
||||
[transition padding-left on ::after]
|
||||
expected: NOTRUN
|
||||
|
||||
[transition padding-left on ::before]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[non-rendered-element-002.html]
|
||||
expected: TIMEOUT
|
||||
[Transitions on ::before/::after pseudo-elements are canceled when the content property is cleared]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
[pseudo-elements-001.html]
|
||||
[transition padding-left on :before / values]
|
||||
expected: FAIL
|
||||
|
||||
[transition padding-left on :after, changing content / values]
|
||||
expected: FAIL
|
||||
|
||||
[transition padding-left on :before, changing content / values]
|
||||
expected: FAIL
|
||||
|
||||
[transition padding-left on :after / values]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
[animationevent-pseudoelement.html]
|
||||
bug: https://github.com/servo/servo/issues/10316
|
||||
expected: TIMEOUT
|
||||
[AnimationEvent should have the correct pseudoElement memeber]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[events-006.html]
|
||||
bug: https://github.com/servo/servo/issues/10316
|
||||
expected: TIMEOUT
|
||||
[transition padding-left on ::after]
|
||||
expected: NOTRUN
|
||||
|
||||
[transition padding-left on ::before]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -1,8 +1,4 @@
|
|||
[non-rendered-element-002.html]
|
||||
expected: TIMEOUT
|
||||
[Transitions on ::before/::after pseudo-elements are canceled when the content property is cleared]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Transitions on ::marker pseudo-elements are canceled when the parent display type is no longer list-item]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -2,12 +2,6 @@
|
|||
[transition padding-left on :before / values]
|
||||
expected: FAIL
|
||||
|
||||
[transition padding-left on :after, changing content / values]
|
||||
expected: FAIL
|
||||
|
||||
[transition padding-left on :before, changing content / values]
|
||||
expected: FAIL
|
||||
|
||||
[transition padding-left on :after / values]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue