Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0804-c5506-padn-t-00-b-a.html
blobeb9a0fc282113e7f9949057fcce06b3d56bba259
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: padding-top</title>
5 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 td { padding: 0; border: solid black; }
8 p { margin: 0; }
9 .test { font: 12px/1 Ahem; width: 5em; }
10 .zero {padding-top: 0; background-color: orange; color: blue;}
11 .one {padding-top: 0.125in; background-color: yellow; color: aqua;}
12 .two {padding-top: 12px; background-color: lime; color: fuchsia;}
13 .three {padding-top: 1em; background-color: blue; color: orange;}
14 .four {padding-top: 20%; background-color: aqua; color: yellow;}
15 .five {padding-top: -20px; background-color: fuchsia; color: lime;}
17 .control { width: 60px; background: red; }
18 .control .blue { border-top: solid blue 12px; }
19 .control .yellow { border-top: solid yellow 12px; }
20 .control .aqua { border-top: solid aqua 12px; }
21 .control .lime { border-top: solid lime 12px; }
22 .control .fuchsia { border-top: solid fuchsia 12px; }
23 .control .orange { border-top: solid orange 12px; }
24 </style>
25 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#padding-properties" title="8.4 Padding properties: 'padding-top', 'padding-right', 'padding-bottom', 'padding-left', and 'padding'">
26 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" title="4.3.2 Lengths">
27 </head>
28 <body>
29 <p>The next two columns should be identical.</p>
30 <table>
31 <tr>
32 <td>
33 <div class="test">
34 <p class="zero"> xxxxx </p>
35 <p class="one"> xxxxx </p>
36 <p class="two"> xxxxx </p>
37 <p class="three"> xxxxx </p>
38 <p class="four"> xxxxx </p>
39 <p class="five"> xxxxx </p>
40 </div>
41 </td>
42 <td class="control">
43 <div class="blue"></div>
44 <div class="yellow"></div>
45 <div class="aqua"></div>
46 <div class="lime"></div>
47 <div class="fuchsia"></div>
48 <div class="blue"></div>
49 <div class="orange"></div>
50 <div class="aqua"></div>
51 <div class="yellow"></div>
52 <div class="lime"></div>
53 </td>
54 </tr>
55 </table>
56 </body>
57 </html>