<!DOCTYPE html> | |
<style> | |
@font-face { | |
font-family: webkit-ahem; | |
src: url(../../resources/Ahem.ttf) format(truetype); | |
} | |
</style> | |
<body> | |
<p> | |
https://bugs.webkit.org/b/107231 - CSSParser::parseFontFamily should allow | |
the keyword "default" as part of a font name | |
</p> | |
<p> | |
The next 4 lines should use the default font (same as this line):<br> | |
Test 1<br> | |
Test 2<br> | |
Test 3<br> | |
Test 4 | |
</p> | |
<p> | |
The next 6 lines should use the font Arial:<br> | |
<span style="font-family: arial"> | |
Test 1<br> | |
Test 2<br> | |
Test 3<br> | |
Test 4<br> | |
Test 5<br> | |
Test 6 | |
</span> | |
</p> | |
<p> | |
The next 9 lines should use the font Ahem (black boxes):<br> | |
<span style="font-family: webkit-ahem"> | |
Test 1<br> | |
Test 2<br> | |
Test 3<br> | |
Test 4<br> | |
Test 5<br> | |
Test 6<br> | |
Test 7<br> | |
Test 8<br> | |
Test 9 | |
</span> | |
</p> | |
</body> | |
</html> |