summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1553874.html
blob: 5ba2d88059860de0aa228f4af92d311563e2d20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
<head>
    <script>
      function start () {
        const style = document.createElement('style')
        document.head.appendChild(style)

        const ul = document.createElement('ul')
        ul.textContent = '\uFFFD\n'
        document.documentElement.appendChild(ul)

        style.sheet.insertRule('ul { line-break: anywhere }', (0))
      }
      window.addEventListener('load', start)
    </script>
</head>
</html>