summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1410226-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1410226-2.html')
-rw-r--r--layout/style/crashtests/1410226-2.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/style/crashtests/1410226-2.html b/layout/style/crashtests/1410226-2.html
new file mode 100644
index 0000000000..c02e585512
--- /dev/null
+++ b/layout/style/crashtests/1410226-2.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<style>
+ * { display: contents; }
+</style>
+<marquee>
+<div id="target">
+</div>
+</marquee>
+<script>
+document.body.offsetTop;
+let div = document.createElement('div');
+div.style.display = "block";
+div.appendChild(document.createTextNode('where am I'));
+target.appendChild(div);
+document.body.style.color = "red";
+</script>