summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1682882.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/1682882.html')
-rw-r--r--layout/generic/crashtests/1682882.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1682882.html b/layout/generic/crashtests/1682882.html
new file mode 100644
index 0000000000..ad6ba94375
--- /dev/null
+++ b/layout/generic/crashtests/1682882.html
@@ -0,0 +1,27 @@
+<html>
+<head>
+ <style id='style'>
+ * {
+ all: revert;
+ }
+ </style>
+ <script>
+ window.addEventListener('load', () => {
+ const style_0 = document.getElementById('style')
+ const style_1 = document.createElement('style')
+ document.head.appendChild(style_1)
+ style_1.sheet.insertRule(`* { position: absolute; scroll-padding-inline: 3195984415.1022196vh }`, 0)
+ style_1.sheet.insertRule(`*::first-line { border-left-color: transparent }`, 0)
+ style_1.sheet.insertRule(`* ~ * { display: contents }`, 0)
+ const xhr = new XMLHttpRequest()
+ xhr.open('POST', 'FOOBAR', false)
+ xhr.send()
+ style_0.innerHTML = '<div></div>'
+ })
+ </script>
+</head>
+<ol hidden>
+ <li>
+ <li contenteditable='true'></li>
+</ol>
+</html>