summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1493710.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/1493710.html')
-rw-r--r--layout/generic/crashtests/1493710.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/generic/crashtests/1493710.html b/layout/generic/crashtests/1493710.html
new file mode 100644
index 0000000000..738b2af9be
--- /dev/null
+++ b/layout/generic/crashtests/1493710.html
@@ -0,0 +1,26 @@
+<html>
+<head>
+ <style id="id_3">
+ * {
+ position: absolute !important
+ </style>
+ <script>
+ function start() {
+ window.CustomElement0 = class extends HTMLElement {
+ constructor() {
+ super();
+ this.attachShadow({
+ mode: 'open'
+ })
+ }
+ }
+ customElements.define('custom-element-0', CustomElement0)
+ o1 = document.createElement('input')
+ o2 = document.createElement('custom-element-0')
+ document.documentElement.appendChild(o2)
+ o2.shadowRoot.prepend('', undefined, o1, '', undefined, document.getElementById('id_3'))
+ }
+ document.addEventListener('DOMContentLoaded', start)
+ </script>
+</head>
+</html> \ No newline at end of file