summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1638860-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/1638860-1.html')
-rw-r--r--layout/generic/crashtests/1638860-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1638860-1.html b/layout/generic/crashtests/1638860-1.html
new file mode 100644
index 0000000000..150fc742f6
--- /dev/null
+++ b/layout/generic/crashtests/1638860-1.html
@@ -0,0 +1,24 @@
+<html>
+<body>
+ <style>
+ html {
+ transform-style: preserve-3d;
+ }
+ div,html {
+ display: inline-grid;
+ grid-template-columns: subgrid;
+ }
+ div {
+ position: fixed;
+ }
+ </style>
+ <script>
+ window.addEventListener('load', () => {
+ const div = document.createElementNS('http://www.w3.org/1999/xhtml', 'div')
+ const text = document.createTextNode('BAR')
+ div.appendChild(text)
+ document.documentElement.appendChild(div)
+ })
+ </script>
+</body>
+</html>