OLD | NEW |
(Empty) | |
| 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.layoutTestController) |
| 8 layoutTestController.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 inline flow and block flow --> |
| 18 <!-- As this is a malformed example we don't care about the exact rendering outp
ut, 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>an
d a block</div><rt>ruby text 2</rt></ruby> |
| 24 </body> |
| 25 </html> |
OLD | NEW |