| OLD | NEW |
| 1 <!-- The blue, yellow and green text boxes should not overlap --> | 1 <!-- The blue, yellow 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-row; | 9 display: table-row; |
| 9 } | 10 } |
| 10 #test::after | 11 #test::after |
| 11 { | 12 { |
| 12 content: "4578"; | 13 content: "4578"; |
| 13 color: yellow; | 14 color: yellow; |
| 14 display: table-row; | 15 display: table-row; |
| 15 } | 16 } |
| 16 </style> | 17 </style> |
| 17 <div id="test"> | 18 <div id="test"> |
| 18 ABCD | 19 ABCD |
| 19 </div> | 20 </div> |
| 20 <div style="font-size: 800%; color: green"> | 21 <div style="font-size: 800%; color: green"> |
| 21 EFGH | 22 EFGH |
| 22 </div> | 23 </div> |
| 23 <script> | 24 <script> |
| 24 document.body.offsetTop; | 25 document.body.offsetTop; |
| 25 var test = document.getElementById("test"); | 26 var test = document.getElementById("test"); |
| 26 test.style.fontSize = "800%"; | 27 test.style.fontSize = "800%"; |
| 27 </script> | 28 </script> |
| 28 </body> | 29 </body> |
| 29 </html> | 30 </html> |
| OLD | NEW |