From 650b858b94bb03bd2cd402d349d5c84e9e4027dd Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Tue, 21 Jan 2025 22:43:20 +0000 Subject: [PATCH] Support {Element|DocumentOrShadowRoot}.getAnimations({subtree: true}) for view-transitions. There are two reasons we cannot use the original version of pseudo-element-animaiton.html: 1. Our finished promise is never resolved (Bug 1914322). 2. We haven't imported the UA stylesheet (Bug 1914323, Bug 1914324). So I need to write a new test based on our current implementation, and rename the original pseudo-element-animations.html as pseudo-element-animations-rerun.html. Differential Revision: https://phabricator.services.mozilla.com/D231345 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1921109 gecko-commit: 2a99eda179fe52e825c1fa813df4524eaf3e76b3 gecko-reviewers: view-transitions-reviewers, emilio --- .../pseudo-element-animations-rerun.html | 36 +++++ .../pseudo-element-animations.html | 142 +++++++++++++++--- 2 files changed, 158 insertions(+), 20 deletions(-) create mode 100644 css/css-view-transitions/pseudo-element-animations-rerun.html diff --git a/css/css-view-transitions/pseudo-element-animations-rerun.html b/css/css-view-transitions/pseudo-element-animations-rerun.html new file mode 100644 index 00000000000000..a7c3247479d01f --- /dev/null +++ b/css/css-view-transitions/pseudo-element-animations-rerun.html @@ -0,0 +1,36 @@ + + +CSS Animations on view transition pseudos run more than once + + + + + +
+ diff --git a/css/css-view-transitions/pseudo-element-animations.html b/css/css-view-transitions/pseudo-element-animations.html index a7c3247479d01f..b5cde702733779 100644 --- a/css/css-view-transitions/pseudo-element-animations.html +++ b/css/css-view-transitions/pseudo-element-animations.html @@ -1,36 +1,138 @@ -CSS Animations on view transition pseudos run more than once +CSS Animations and Web Animations on view transition pseudos +