summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/1493710.html
blob: 738b2af9be9138218a6f9b09254d15de5268d95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>