Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-family-parse-keyword-expected.html
blob8b3ed324e809fe21f7decf85bca98989056a94b3
1 <!DOCTYPE html>
2 <style>
3 @font-face {
4 font-family: webkit-ahem;
5 src: url(../../resources/Ahem.ttf) format(truetype);
7 </style>
8 <body>
9 <p>
10 http://crbug.com/226632 - CSSParser::parseFontFamily should allow
11 the keyword "default" as part of a font name.
12 http://crbug.com/389148 - Invalid declaration "font-family: Times,
13 inherit" is treated as valid.
14 </p>
15 <p>
16 The next 11 lines should use the default font (same as this line):<br>
17 Test 1<br>
18 Test 2<br>
19 Test 3<br>
20 Test 4<br>
21 Test 5<br>
22 Test 6<br>
23 Test 7<br>
24 Test 8<br>
25 Test 9<br>
26 Test 10
27 </p>
28 <p>
29 The next 3 lines should use the font Arial:<br>
30 <span style="font-family: arial">
31 Test 1<br>
32 Test 2<br>
33 Test 3
34 </span>
35 </p>
36 <p>
37 The next 9 lines should use the font Ahem (black boxes):<br>
38 <span style="font-family: webkit-ahem">
39 Test 1<br>
40 Test 2<br>
41 Test 3<br>
42 Test 4<br>
43 Test 5<br>
44 Test 6<br>
45 Test 7<br>
46 Test 8<br>
47 Test 9
48 </span>
49 </p>
50 </body>
51 </html>