Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / ruby / rubyDOM-remove-rt-block-1.html
bloba1da9e94989962f12629bfbf9833e4a1670132ff
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <script>
5 function test()
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 document.getElementById("result").firstChild.data = 'SUCCESS!';
11 var ruby = document.getElementById('R');
12 var rt = document.getElementById('RT');
13 ruby.removeChild(rt);
15 </script>
16 </head>
17 <!-- Removing a <rt> element, causing a merge of inline flow and block 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">some text<rt id="RT">ruby text 1</rt><span>more text</span> <div>and a block</div><rt>ruby text 2</rt></ruby>
24 </body>
25 </html>