Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 function runTest() { | |
| 6 var target = document.getElementById('target'); | |
| 7 document.body.offsetLeft; | |
| 8 target.parentNode.removeChild(target); | |
| 9 } | |
| 10 </script> | |
| 11 </head> | |
| 12 <body onload="runTest()"> | |
| 13 <style id="target"> | |
| 14 @font-face { | |
| 15 font-family: f1; | |
| 16 font-weight: 100; | |
| 17 src: url(../../resources/Ahem.ttf); | |
| 18 } | |
| 19 </style> | |
| 20 <!-- crbug.com/305885: when removing stylesheets, consider @font-face rules. --> | |
| 21 <span style="font-family: f1; font-weight: 100">A</span> | |
| 22 </body> | |
| 23 </html> | |
| OLD | NEW |