Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0804-c5510-padn-01-e-a.html
blob332e8298f108336fc8a44648d685368187ed625c
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: padding</title>
5 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 div.test, div.control { margin: 1em; }
8 p.criteria { color: navy; }
9 p, ul, li { margin: 0; padding: 0; list-style: none; }
11 div.test { border: solid black; width: 10em; background-color: orange; font: 1em/1 Ahem; color: teal; }
12 ul.test, li.test { padding: 1em; }
13 li.test { background-color: aqua; }
14 ul.test { background-color: yellow; }
16 .control { border: solid; width: 10em; background: red; }
17 .control .orange { border: solid 1em yellow; background: yellow; }
18 .control .teal { height: 1em; width: 1em; background: teal; }
19 .control .aqua { border: solid 1em aqua; background: aqua; }
20 </style>
21 <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'">
22 </head>
23 <body>
24 <p class="criteria">The following two diagrams should look identical.</p>
25 <div class="test">
26 <ul class="test">
27 <li>-</li>
28 <li class="test">-</li>
29 <li>-</li>
30 </ul>
31 </div>
32 <div class="control">
33 <div class="orange">
34 <div class="teal"></div>
35 <div class="aqua"><div class="teal"></div></div>
36 <div class="teal"></div>
37 </div>
38 </div>
39 </body>
40 </html>