2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t0803-c5504-imrgn-l-05-b-ag.html
blob3d299edb60ada5db461be91eff7f8186ff097dc5
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: margin-left</title>
5 <style type="text/css">
6 p { color: navy; }
7 div { font: 15px/1 Ahem; margin: 1em; }
8 .six { width: 13em; }
9 .six p { background: yellow; color: lime; }
10 .six span { margin-left: -4em; background: blue; color: orange; }
11 </style>
12 <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'">
13 </head>
14 <body>
15 <p>The following two bars should be identical:</p>
16 <div class="six">
17 <p>xx xx xx <span>xx xx </span> xx</p>
18 </div>
19 <div>
20 <img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-yellow.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-blue.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-orange.png"><img alt="" src="support/swatch-blue.png"><img alt="" src="support/swatch-lime.png"><img alt="" src="support/swatch-lime.png">
21 </div>
22 </body>
23 </html>