6 var newStyle
= document
.createElement('style');
7 newStyle
.innerHTML
= "@font-face { font-family: f1; font-weight: 100; src: local('Courier New'); }";
8 document
.body
.offsetLeft
;
9 document
.body
.insertBefore(newStyle
, document
.getElementById('target'));
13 <body onload=
"runTest()">
18 src: url(../../resources/Ahem.ttf);
21 <span style=
"font-family: f1; font-weight: 100">A
</span>