Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0803-c5502-mrgn-r-01-c-a.html
blob6025508ecb86873a1f793b281de4427ae217f90b
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: margin-right</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 { margin-right: 2em; text-align: right; }
13 li.test { background-color: aqua; }
14 ul.test { background-color: yellow; }
16 .control { border: solid; width: 10em; background: red; }
17 .control div { border-style: none solid; height: 1em; }
18 .control .a { border-color: red orange red yellow; border-width: 0 2em 0 7em; }
19 .control .aa { border-color: red teal red red; border-width: 0 1em 0 0; }
20 .control .b { border-color: red orange red aqua; border-width: 0 2em 0 5em; }
21 .control .bb { border-color: red yellow red teal; border-width: 0 2em 0 1em; }
23 </style>
24 <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'">
25 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties">
26 </head>
27 <body>
28 <p class="criteria">The following two diagrams should look identical.</p>
29 <div class="test">
30 <ul class="test">
31 <li>-</li>
32 <li class="test">-</li>
33 <li>-</li>
34 </ul>
35 </div>
36 <div class="control">
37 <div class="a"><div class="aa"></div></div>
38 <div class="b"><div class="bb"></div></div>
39 <div class="a"><div class="aa"></div></div>
40 </div>
41 </body>
42 </html>