Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / resources / word-break-next-linebox-not-dirty-crash.html
blob12251ebb354fe76918d890e32d57b2cbf597f7c2
1 <html>
2 <body onload="runTest();">
3 <audio>a</audio>a
4 <center></center>
5 aaaaaaaaaaaaaaaaaaa
6 <wbr id="wbr"/>
7 <span>aaaaaaaaaaaaa</span>
8 <script>
9 function reference(domNode)
11 this.domNode = domNode;
13 function walk(a, currentPrefix, index, domNode)
15 if (domNode == null)
16 return;
17 newPrefix = currentPrefix + "_" + index;
18 walk(a, currentPrefix, index + 1, domNode.nextSibling);
19 walk(a, newPrefix, 0, domNode.firstChild);
20 a[newPrefix] = new reference(domNode);
22 function clearAllNodes()
24 var a = new Array();
25 walk(a, "", 0, document.body);
26 for (key in a)
28 document.body.offsetTop;
29 a[key].domNode.parentNode.removeChild(a[key].domNode);
32 function runTest() {
33 var font = document.createElement('font');
34 document.getElementById('wbr').appendChild(font);
35 document.body.offsetTop;
36 clearAllNodes();
38 if (window.testRunner)
39 testRunner.notifyDone();
41 </script>
42 </body>
43 </html>