3 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
8 testRunner
.dumpAsText();
9 document
.getElementById("result").firstChild
.data
= 'SUCCESS!';
11 var ruby
= document
.getElementById('R');
12 var block
= document
.getElementById('D');
13 var newRT
= document
.createElement('rt');
14 var newRTText
= document
.createTextNode('new ruby text');
15 newRT
.appendChild(newRTText
);
16 ruby
.insertBefore(newRT
, block
);
20 <!-- Inserting a <rt> element, causing a split of block flow to inline flow and block flow -->
21 <!-- As this is a malformed example we don't care about the exact rendering output, only that it doesn't crash -->
22 <body onload=
"test()">
23 <div id=
"result">FAILED!
</p>
26 <ruby id=
"R">text
<div id=
"D">block
</div> more text
<rt>ruby text
</rt></ruby>