diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /testing/web-platform/tests/css/css-transitions/all-with-discrete.tentative.html | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-transitions/all-with-discrete.tentative.html')
-rw-r--r-- | testing/web-platform/tests/css/css-transitions/all-with-discrete.tentative.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/web-platform/tests/css/css-transitions/all-with-discrete.tentative.html b/testing/web-platform/tests/css/css-transitions/all-with-discrete.tentative.html deleted file mode 100644 index 37946717b4..0000000000 --- a/testing/web-platform/tests/css/css-transitions/all-with-discrete.tentative.html +++ /dev/null @@ -1,41 +0,0 @@ -<!DOCTYPE html> -<link rel=author href="mailto:jarhar@chromium.org"> -<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<script src="/css/css-animations/support/testcommon.js"></script> - -<div class=testcase id=discrete>Allow discrete</div> -<div class=testcase id=normal>No discrete</div> - -<style> -.testcase { - float: left; - width: 100px; - height: 100px; - transition: all 1s; -} -#discrete { - transition-behavior: allow-discrete; -} -.animated { - float: right; -} -</style> - -<script> -promise_test(async () => { - await waitForAnimationFrames(2); - // Regression test for https://crbug.com/1518561 - normal.classList.add('animated'); - const normalAnims = normal.getAnimations(); - assert_equals(normalAnims.length, 0, - "Started a discrete property transition on a normal element"); - - discrete.classList.add('animated'); - const anims = discrete.getAnimations(); - assert_equals(anims.length, 1, - "Did not start a discrete-property transition"); - assert_equals(anims[0].transitionProperty, 'float'); -}, 'transition:all with transition-behavior:allow-discrete should animate discrete properties.'); -</script> |