summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/1693032.html
blob: 49a2bf3c175443ac872d2b8ce81742880af007f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
    <script>
      document.addEventListener('DOMContentLoaded', () => {
        const svg_1 = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
        const svg_2 = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
        const switch_1 = document.createElementNS('http://www.w3.org/2000/svg', 'switch')
        const metadata_1 = document.createElementNS('http://www.w3.org/2000/svg', 'metadata')
        const foreign_1 = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject')
        const text_1 = document.createElementNS('http://www.w3.org/2000/svg', 'text')
        switch_1.appendChild(metadata_1)
        svg_2.appendChild(text_1)
        foreign_1.appendChild(svg_2)
        switch_1.appendChild(foreign_1)
        svg_1.appendChild(switch_1)
        document.documentElement.appendChild(svg_1)
      })
    </script>
</head>
</html>