summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1418059.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1418059.html')
-rw-r--r--layout/style/crashtests/1418059.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/style/crashtests/1418059.html b/layout/style/crashtests/1418059.html
new file mode 100644
index 0000000000..a799e162a9
--- /dev/null
+++ b/layout/style/crashtests/1418059.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<style>
+@keyframes anim {
+ to { transform: rotate(360deg); }
+}
+.document-ready .animation::after {
+ display: none;
+}
+.animation::after {
+ content: "";
+ animation: anim 1s infinite;
+}
+</style>
+<div class="animation"></div>
+<script>
+window.addEventListener('load', () => {
+ document.documentElement.classList.add('document-ready');
+ requestAnimationFrame(() => {
+ document.documentElement.classList.remove('reftest-wait');
+ });
+});
+</script>
+</html>