OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;"> | 2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none;"> |
3 <!-- WebKit bug 86387 - Move run-in handling to addChild, instead of in layout.
--> | 3 <!-- WebKit bug 86387 - Move run-in handling to addChild, instead of in layout.
--> |
4 <!-- 'A' should be on its own line, followed by run-in 'B' and 'C' in the next l
ine --> | 4 <!-- 'A' should be on its own line, followed by run-in 'B' and 'C' in the next l
ine --> |
5 <style> | 5 <style> |
6 .runin { display: run-in; } | 6 .runin { display: run-in; } |
7 </style> | 7 </style> |
8 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <div> | 10 <div> |
(...skipping 10 matching lines...) Expand all Loading... |
21 div2.setAttribute('class', 'runin'); | 21 div2.setAttribute('class', 'runin'); |
22 div2.style.color = 'orange'; | 22 div2.style.color = 'orange'; |
23 div2.appendChild(document.createTextNode('B')); | 23 div2.appendChild(document.createTextNode('B')); |
24 div3 = document.getElementById('div3'); | 24 div3 = document.getElementById('div3'); |
25 document.body.offsetTop; | 25 document.body.offsetTop; |
26 div3.parentNode.insertBefore(div2, div3); | 26 div3.parentNode.insertBefore(div2, div3); |
27 document.body.offsetTop; | 27 document.body.offsetTop; |
28 div3.parentNode.insertBefore(div1, div2); | 28 div3.parentNode.insertBefore(div1, div2); |
29 </script> | 29 </script> |
30 </html> | 30 </html> |
OLD | NEW |