Implement Focus UI
[framework/web/webkit-efl.git] / LayoutTests / css2.1 / t0803-c5505-mrgn-01-e-a.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3  <head>
4   <title>CSS 2.1 Test Suite: margin</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; }
9
10    div.test { border: solid black; width: 10em; background-color: orange; font: 1em/1 Ahem; color: teal; }
11    ul.test, li.test { margin: 1em; }
12    li.test { background-color: aqua; }
13    ul.test { background-color: yellow; }
14
15    .control { border: solid; width: 10em; background: red; }
16    .control .orange { border: solid 1em orange; background: yellow; }
17    .control .teal { height: 1em; width: 1em; background: teal; }
18    .control .aqua { border: solid 1em yellow; background: aqua; }
19
20   </style>
21   <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#margin-properties" title="8.3 Margin properties: 'margin-top',  'margin-right',  'margin-bottom', 'margin-left', and 'margin'">
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>