summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/altering-dom-crash.html
blob: 4840014533dca4db0405967f24dc7bca11b7d88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<title>CSS Text Test: Altering the DOM generates empty text elements that cause line-breaking to crash</title>
<link rel="help" href="https://crbug.com/1128571">
<style>
    body {
        width: 5pt;
        hyphens: none;
    }
</style>
<body onload=jsfuzzer()>
    <table id="table1">x</table>
    <content contenteditable="plaintext-only">
</body>
<script>
    function jsfuzzer() {
        document.all[0].appendChild(table1);
    }
</script>