| OLD | NEW |
| 1 <!-- The blue and green text boxes should not overlap --> | 1 <!-- The blue and green text boxes should not overlap --> |
| 2 <html> | 2 <html> |
| 3 <script src="../../resources/ahem.js"></script> |
| 3 <body style="font: 1em/1 Ahem, sans-serif;"> | 4 <body style="font: 1em/1 Ahem, sans-serif;"> |
| 4 <style> | 5 <style> |
| 5 #test | 6 #test |
| 6 { | 7 { |
| 7 color: blue; | 8 color: blue; |
| 8 display: table; | 9 display: table; |
| 9 } | 10 } |
| 10 </style> | 11 </style> |
| 11 <div id="test"> | 12 <div id="test"> |
| 12 ABCD | 13 ABCD |
| 13 </div> | 14 </div> |
| 14 <div style="font-size: 800%; color: green"> | 15 <div style="font-size: 800%; color: green"> |
| 15 EFGH | 16 EFGH |
| 16 </div> | 17 </div> |
| 17 <script> | 18 <script> |
| 18 document.body.offsetTop; | 19 document.body.offsetTop; |
| 19 var test = document.getElementById("test"); | 20 var test = document.getElementById("test"); |
| 20 test.style.fontSize = "800%"; | 21 test.style.fontSize = "800%"; |
| 21 </script> | 22 </script> |
| 22 </body> | 23 </body> |
| 23 </html> | 24 </html> |
| OLD | NEW |