Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: LayoutTests/fast/css/font-family-parse-keyword-expected.html

Issue 1020093004: Add initial/inherit/unset tests to font-family-parse-keyword.html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add unset Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 http://crbug.com/389148 - Invalid declaration "font-family: Times,
13 inherit" is treated as valid.
12 </p> 14 </p>
13 <p> 15 <p>
14 The next 7 lines should use the default font (same as this line):<br> 16 The next 11 lines should use the default font (same as this line):<br>
15 Test 1<br> 17 Test 1<br>
16 Test 2<br> 18 Test 2<br>
17 Test 3<br> 19 Test 3<br>
18 Test 4<br> 20 Test 4<br>
19 Test 5<br> 21 Test 5<br>
20 Test 6<br> 22 Test 6<br>
21 Test 7 23 Test 7<br>
24 Test 8<br>
25 Test 9<br>
26 Test 10
22 </p> 27 </p>
23 <p> 28 <p>
24 The next 3 lines should use the font Arial:<br> 29 The next 3 lines should use the font Arial:<br>
25 <span style="font-family: arial"> 30 <span style="font-family: arial">
26 Test 1<br> 31 Test 1<br>
27 Test 2<br> 32 Test 2<br>
28 Test 3 33 Test 3
29 </span> 34 </span>
30 </p> 35 </p>
31 <p> 36 <p>
32 The next 9 lines should use the font Ahem (black boxes):<br> 37 The next 9 lines should use the font Ahem (black boxes):<br>
33 <span style="font-family: webkit-ahem"> 38 <span style="font-family: webkit-ahem">
34 Test 1<br> 39 Test 1<br>
35 Test 2<br> 40 Test 2<br>
36 Test 3<br> 41 Test 3<br>
37 Test 4<br> 42 Test 4<br>
38 Test 5<br> 43 Test 5<br>
39 Test 6<br> 44 Test 6<br>
40 Test 7<br> 45 Test 7<br>
41 Test 8<br> 46 Test 8<br>
42 Test 9 47 Test 9
43 </span> 48 </span>
44 </p> 49 </p>
45 </body> 50 </body>
46 </html> 51 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/font-family-parse-keyword.html ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698