Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / ruby / rubyDOM-remove-rt-block-2.html
blobc1e3f137d8f5821b51d71bd86756b2a20831bb33
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 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>