| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <style> | 2 <style> |
| 3 @font-face { | 3 @font-face { |
| 4 font-family: webkit-ahem; | 4 font-family: webkit-ahem; |
| 5 src: url(../../resources/Ahem.ttf) format(truetype); | 5 src: url(../../resources/Ahem.ttf) format(truetype); |
| 6 } | 6 } |
| 7 </style> | 7 </style> |
| 8 <body> | 8 <body> |
| 9 <p> | 9 <p> |
| 10 http://crbug.com/226632 - CSSParser::parseFontFamily should allow | 10 http://crbug.com/226632 - CSSParser::parseFontFamily should allow |
| 11 the keyword "default" as part of a font name. | 11 the keyword "default" as part of a font name. |
| 12 </p> | 12 </p> |
| 13 <p> | 13 <p> |
| 14 The next 4 lines should use the default font (same as this line):<br> | 14 The next 7 lines should use the default font (same as this line):<br> |
| 15 Test 1<br> | 15 Test 1<br> |
| 16 Test 2<br> | 16 Test 2<br> |
| 17 Test 3<br> | 17 Test 3<br> |
| 18 Test 4 | 18 Test 4<br> |
| 19 Test 5<br> |
| 20 Test 6<br> |
| 21 Test 7 |
| 19 </p> | 22 </p> |
| 20 <p> | 23 <p> |
| 21 The next 6 lines should use the font Arial:<br> | 24 The next 3 lines should use the font Arial:<br> |
| 22 <span style="font-family: arial"> | 25 <span style="font-family: arial"> |
| 23 Test 1<br> | 26 Test 1<br> |
| 24 Test 2<br> | 27 Test 2<br> |
| 25 Test 3<br> | 28 Test 3 |
| 26 Test 4<br> | |
| 27 Test 5<br> | |
| 28 Test 6 | |
| 29 </span> | 29 </span> |
| 30 </p> | 30 </p> |
| 31 <p> | 31 <p> |
| 32 The next 9 lines should use the font Ahem (black boxes):<br> | 32 The next 9 lines should use the font Ahem (black boxes):<br> |
| 33 <span style="font-family: webkit-ahem"> | 33 <span style="font-family: webkit-ahem"> |
| 34 Test 1<br> | 34 Test 1<br> |
| 35 Test 2<br> | 35 Test 2<br> |
| 36 Test 3<br> | 36 Test 3<br> |
| 37 Test 4<br> | 37 Test 4<br> |
| 38 Test 5<br> | 38 Test 5<br> |
| 39 Test 6<br> | 39 Test 6<br> |
| 40 Test 7<br> | 40 Test 7<br> |
| 41 Test 8<br> | 41 Test 8<br> |
| 42 Test 9 | 42 Test 9 |
| 43 </span> | 43 </span> |
| 44 </p> | 44 </p> |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |