OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Test case</title> | 4 <title>Test case</title> |
5 </head> | 5 </head> |
6 | 6 |
7 <body> | 7 <body> |
8 <div style="background: green; width: 32px; height: 32px; position: absolute">
</div> | 8 <div style="background: green; width: 32px; height: 32px; position: absolute">
</div> |
9 | 9 |
10 <script> | 10 <script> |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 // Triggering a style recalc here is necessary. | 31 // Triggering a style recalc here is necessary. |
32 anotherBody.offsetHeight; | 32 anotherBody.offsetHeight; |
33 | 33 |
34 anotherBody.parentNode.removeChild(anotherBody); | 34 anotherBody.parentNode.removeChild(anotherBody); |
35 }, | 35 }, |
36 false); | 36 false); |
37 </script> | 37 </script> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |