Files
sousa-gecko/testing/web-platform/tests/css/css-animations/crashtests/cancel-update.html
T
Sharon Yang 4dd1a81715 Bug 2051446 [wpt PR 60976] - Migrate css animations stability crashtests to WPT, a=testonly
Automatic update from web-platform-tests
Migrate css animations stability crashtests to WPT

The following tests in external/wpt/css/css-animations/crashtests/ were
migrated, for a total of 23 tests:
- animation-end-crash.html
- animation-transition-collision-crash.html
- background-shorthand-crash.html
- base-render-style-body-crash.html
- base-render-style-crash.html
- cancel-update.html
- checkbox-padding-animation-crash.html
- composited-identity-animation-layer-squash-crash.html
- css-animation-null-effect-crash.html
- font-builder-crash.html
- inherit-crash.html
- keyframe-timing-function-unset-crash.html
- marquee-element-move-and-toggle-visibility-crash.html
- multiple-same-animations-asan-crash.html
- option-element-crash.html
- option-opacity-inherit-crash.html
- pause-crash.html
- pseudo-element-animation-with-color-crash.html
- pseudo-element-animation-with-marker.html
- svg-element-css-animation-crash.html
- transform-css-animation-squash-crash.html
- universal-selector-opacity-inherit-crash.html
- zoomed-length-crash.html

Bug: 485677942
Change-Id: I7d2ff8a29eeaee7d5e3965c9d62b26bdfe702391
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8020429
Reviewed-by: Christian Biesinger <cbiesinger@chromium.org>
Commit-Queue: Sharon Yang <yangsharon@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1654452}

--

wpt-commits: e8d81578c7d15574e69fc0d8a042a5dfc614cb85
wpt-pr: 60976
2026-07-10 09:21:34 +00:00

26 lines
627 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://crbug.com/40447203">
<link rel="help" href="https://issues.chromium.org/issues/40447203">
<title>Check that cancelling one running animation and updating another doesn't
crash.</title>
<style>
@keyframes anim {
from { background-color: blue; }
to { background-color: red; }
}
@keyframes anim2 {
from { opacity: 0; }
to { opacity: 1; }
}
</style>
<div id="target"></div>
<script>
window.onload = () => {
target.style.animation = "anim 1s, anim2 1s";
target.offsetTop;
target.style.animation = "anim2 2s";
target.offsetTop;
};
</script>