6 src: local(Courier), local('Courier New'); /* Use monospace font */
7 unicode-range: U+
0041; /* 'A' */
13 unicode-range: U+
006d; /* 'm' */
18 font-family: font1, Arial;
24 font-family: font2, Courier, 'Courier New';
34 <script src=
"../../resources/js-test.js"></script>
37 <span id=
"test1" class=
"test1">m
</span><br/>
38 <span id=
"test2" class=
"test2">m
</span><br/>
39 <span id=
"ref" class=
"ref">m
</span>
41 description('@font-face should not affect width of characters outside of its unicode-range');
42 shouldBe("document.getElementById('test1').offsetWidth", "document.getElementById('ref').offsetWidth");
43 shouldBe("document.getElementById('test2').offsetWidth", "document.getElementById('ref').offsetWidth");