summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:54:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:54:08 +0000
commit7443e3d6139ce4f0c822c23d1efb9c097419456d (patch)
tree8e2682b680f95eb05e7f15551464dd1a671b06e2 /testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html
parentReleasing progress-linux version 125.0.2-1~progress7.99u1. (diff)
downloadfirefox-7443e3d6139ce4f0c822c23d1efb9c097419456d.tar.xz
firefox-7443e3d6139ce4f0c822c23d1efb9c097419456d.zip
Merging upstream version 125.0.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html')
-rw-r--r--testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html b/testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html
index b58c93d2e6..0952a7cd8f 100644
--- a/testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html
+++ b/testing/web-platform/tests/css/css-transitions/CSSTransition-effect.tentative.html
@@ -85,12 +85,13 @@ promise_test(async t => {
div.style.left = '150px';
// This will run style update.
- assert_equals(div.getAnimations().length, 1);
+ const animations = div.getAnimations();
+ assert_equals(animations.length, 1);
- const new_transition = div.getAnimations()[0];
+ const new_transition = animations[0];
await new_transition.ready;
- assert_equals(getComputedStyle(div).left, '100px');
+ assert_not_equals(getComputedStyle(div).left, '150px');
}, 'After setting a transition\'s effect to null, a new transition can be started');
// This is a regression test for https://crbug.com/992668, where Chromium would