Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / fonts.html
blob54c127a2bf950b67f388d5f4144ac8d16fe94773
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html>
3 <head>
4 <title>Parsing the 'font' shorthand</title>
5 <script src="../../resources/ahem.js"></script>
6 <style type="text/css">
7 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
8 p { color: green; margin: 1em; }
9 .test { width: 6em; }
10 span { background: red; color: white; }
11 .a { font: normal normal normal 1em/normal Ahem, serif; }
12 .b { font: normal normal normal medium/normal Ahem, serif; }
13 .c { font: normal normal normal medium/1 Ahem, serif; }
14 .d { font: normal normal normal 1em/1 Ahem, serif; }
15 .e { font: normal normal 1em/1 Ahem, serif; }
16 .f { font: normal 1em/1 Ahem, serif; }
17 .g { font: 1em/1 Ahem, serif; }
18 .h { font: normal normal normal 1em Ahem, serif; }
19 .i { font: normal normal normal medium Ahem, serif; }
20 .j { font: normal normal normal medium Ahem, serif; }
21 .k { font: normal normal normal 1em Ahem, serif; }
22 .l { font: normal normal 1em Ahem, serif; }
23 .m { font: normal 1em Ahem, serif; }
24 .n { font: 1em Ahem, serif; }
25 </style>
26 </head>
27 <body>
28 <div class="control">Ahem_font_required_for_this_test.</div>
30 <p>This line should be green. There should be no red below.</p>
32 <p class="test a"> <span>FAIL-a</span> </p>
33 <p class="test b"> <span>FAIL-b</span> </p>
34 <p class="test c"> <span>FAIL-c</span> </p>
35 <p class="test d"> <span>FAIL-d</span> </p>
36 <p class="test e"> <span>FAIL-e</span> </p>
37 <p class="test f"> <span>FAIL-f</span> </p>
38 <p class="test g"> <span>FAIL-g</span> </p>
39 <p class="test h"> <span>FAIL-h</span> </p>
40 <p class="test i"> <span>FAIL-i</span> </p>
41 <p class="test j"> <span>FAIL-j</span> </p>
42 <p class="test k"> <span>FAIL-k</span> </p>
43 <p class="test l"> <span>FAIL-l</span> </p>
44 <p class="test m"> <span>FAIL-m</span> </p>
45 <p class="test n"> <span>FAIL-n</span> </p>
47 </body>
48 </html>