6 var rules
= document
.styleSheets
[0].cssRules
;
7 document
.styleSheets
[0].insertRule("@font-face { font-family: f1; font-weight: 100; src: url(../../resources/Ahem.ttf); }", 0);
8 document
.body
.offsetLeft
;
9 var target
= document
.getElementById('target');
10 target
.parentNode
.removeChild(target
);
14 <body onload=
"runTest()">
20 <!-- crbug.com/305885: when removing stylesheets, consider @font-face rules. -->
21 <span style=
"font-family: f1; font-weight: 100">A
</span>