OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none; c
olor: white;"> | 2 <html style="font-family: ahem; font-size: 50px; -webkit-font-smoothing: none; c
olor: white;"> |
3 <body> | 3 <body> |
4 <div id="runin" style="display: run-in">B</div> | 4 <div id="runin" style="display: run-in">B</div> |
5 <div>C</div> | 5 <div>C</div> |
6 <script> | 6 <script> |
7 document.body.offsetTop; | 7 document.body.offsetTop; |
8 var div1 = document.createElement('div'); | 8 var div1 = document.createElement('div'); |
9 div1.appendChild(document.createTextNode('A')); | 9 div1.appendChild(document.createTextNode('A')); |
10 document.body.insertBefore(div1, document.getElementById('runin')); | 10 document.body.insertBefore(div1, document.getElementById('runin')); |
11 </script> | 11 </script> |
12 </body> | 12 </body> |
13 </html> | 13 </html> |
OLD | NEW |