Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0803-c5502-mrgn-r-00-c-ag.html
blob5d1c0bfa5c03414ec3bfaa2e08eeb383238b1d63
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 body { color: navy; }
8 div { font: 10px/1 Ahem; width: 200px; color: orange; }
9 img { vertical-align: bottom; }
10 .zero {margin-right: 0; text-align: right; background-color: brown;}
11 .one {margin-right: 0.5in; text-align: right; background-color: brown;}
12 .two {margin-right: 48px; text-align: right; background-color: brown;}
13 .three {margin-right: 4.8em; text-align: right; background-color: brown;}
14 .four {margin-right: 24%; text-align: right; background-color: brown;}
15 </style>
16 <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'">
17 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#alignment-prop" title="16.2 Alignment: the 'text-align' property">
18 </head>
19 <body>
20 <p>The five &quot;matches" below should be identical.</p>
21 <div>
22 <p class="zero">
23 x<img width="48" alt="" src="support/swatch-white.png" height="10">
24 </p>
25 <p class="one">
27 </p>
28 <p class="two">
30 </p>
31 <p class="three">
33 </p>
34 <p class="four">
36 </p>
37 </div>
38 </body>
39 </html>