Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / nested-bidi-with-continuation-crash.html
blob2c0c2db783bdec15e5ddc706b109d531fc2ef367
1 <!DOCTYPE html>
2 <body onload="runTest();">
3 <script>
4 function reference(domNode)
6 this.domNode = domNode;
8 function walk(a, currentPrefix, index, domNode)
10 if (domNode == null)
11 return;
12 newPrefix = currentPrefix + "_" + index;
13 walk(a, currentPrefix, index + 1, domNode.nextSibling);
14 walk(a, newPrefix, 0, domNode.firstChild);
15 a[newPrefix] = new reference(domNode);
17 function clearAllNodes()
19 var a = new Array();
20 walk(a, "", 0, document.body);
21 for (key in a)
23 document.body.offsetTop;
24 a[key].domNode.parentNode.removeChild(a[key].domNode);
27 function runTest() {
28 if (window.testRunner)
29 testRunner.dumpAsText();
30 clearAllNodes();
31 document.write("Test passes if no crashes with asan.")
33 </script>
34 <output> <div> <pre> <div> </div></div>f<div> </div>
35 <output>o</output>
36 <a><u><textarea></textarea>
37 <br></br>
38 </u>