2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t0804-c5509-padn-l-01-b-a.html
blobc409607eff7962007a5eeb1dc2c2e3f664c2495a
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: padding-left</title>
5 <style type="text/css">
6 div.test, div.control { margin: 1em; }
7 p.criteria { color: navy; }
8 p, ul, li { margin: 0; padding: 0; list-style: none; }
10 div.test { border: solid black; width: 10em; background-color: orange; font: 1em/1 Ahem; color: teal; }
11 ul.test, li.test { padding-left: 2em; text-align: left; }
12 li.test { background-color: aqua; }
13 ul.test { background-color: yellow; }
15 .control { border: solid; width: 10em; background: red; }
16 .control div { border-style: none solid; height: 1em; }
17 .control .a { border-color: red yellow red yellow; border-width: 0 7em 0 2em; }
18 .control .aa { border-color: red red red teal; border-width: 0 0 0 1em; }
19 .control .b { border-color: red aqua red yellow; border-width: 0 5em 0 2em; }
20 .control .bb { border-color: red teal red aqua; border-width: 0 1em 0 2em; }
22 </style>
23 <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'">
24 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property">
25 </head>
26 <body>
27 <p class="criteria">The following two diagrams should look identical.</p>
28 <div class="test">
29 <ul class="test">
30 <li>-</li>
31 <li class="test">-</li>
32 <li>-</li>
33 </ul>
34 </div>
35 <div class="control">
36 <div class="a"><div class="aa"></div></div>
37 <div class="b"><div class="bb"></div></div>
38 <div class="a"><div class="aa"></div></div>
39 </div>
40 </body>
41 </html>