2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;">
\r
3 <!-- WebKit bug 86387 - Move run-in handling to addChild, instead of in layout. -->
\r
4 <!-- 'A' green box, followed by 'B' orange box, followed by 'C' purple box in the same line. -->
\r
6 .runin { display: run-in; color: green; }
\r
11 <div class="runin">A</div>
\r
12 <div id="test" style="color: purple">C</div>
\r
16 document.body.offsetTop;
\r
17 test = document.getElementById('test');
\r
18 span = document.createElement('span');
\r
19 span.appendChild(document.createTextNode('B'));
\r
20 span.style.color = 'orange';
\r
21 test.insertBefore(span, test.firstChild);
\r