Use testRunner instead of layoutTestController in tests still found to be using layou...
[WebKit-https.git] / LayoutTests / fast / ruby / rubyDOM-remove-rt-block-2.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <script>
5 function test()
6 {
7     if (window.testRunner)
8         testRunner.dumpAsText();
9     document.getElementById("result").firstChild.data = 'SUCCESS!';
10
11     var ruby = document.getElementById('R');
12     var rt = document.getElementById('RT');
13     ruby.removeChild(rt);    
14 }
15 </script>
16 </head>
17 <!-- Removing a <rt> element, causing a merge of block flow and inline flow -->
18 <!-- As this is a malformed example we don't care about the exact rendering output, only that it doesn't crash -->
19 <body onload="test()">
20 <div id="result">FAILED!</p>
21 <br>
22 <br>
23 <ruby id="R">text <div>block</div> <rt id="RT">ruby text 1</rt><span>more</span> text<rt>ruby text 2</rt></ruby>
24 </body>
25 </html>