summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/simultaneous-animations-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-animations/simultaneous-animations-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-animations/simultaneous-animations-crash.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-animations/simultaneous-animations-crash.html b/testing/web-platform/tests/css/css-animations/simultaneous-animations-crash.html
new file mode 100644
index 0000000000..223741157e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-animations/simultaneous-animations-crash.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="test-wait">
+<title>CSS animations test: No crash should occur when an animation ends while other animations continue</title>
+<link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
+<link rel="help" href="https://crbug.com/1213307">
+<style>
+ @keyframes animationKeyframes {
+ from { opacity: 0.1; filter: blur(1px); }
+ to { opacity: 0.9; filter: blur(5px); }
+ }
+</style>
+<div id="longerAnimEl" style="animation: animationKeyframes 64ms;">a</div>
+<div id="shorterAnimEl" style="animation: both animationKeyframes 32ms;">b</div>
+<script>
+ longerAnimEl.addEventListener('animationend', () => {
+ document.documentElement.classList.remove('test-wait');
+ });
+</script>
+</html>