Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0905-c5525-fltmrgn-00-c-ag.html
blob82fa1be898b611eaf747a748616e2d55cfec5530
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: float</title>
5 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 body { overflow: hidden; }
8 div { background: red url(support/css1test5525b-0.png) no-repeat; color: green;
9 font: 15px/1 Ahem; padding: 0; width: 8em; border: solid black; }
10 img { float: left; color: red; }
11 .test1 { margin: 1em; background: red url(support/css1test5525b-1.png) no-repeat; }
12 .test2 { margin: 1em; background: red url(support/css1test5525b-2.png) no-repeat; }
13 .test2 img { margin-top: 0px; margin-left: 0px; height: 3em; }
14 .test3 { margin: 1em; background: red url(support/css1test5525b-3.png) no-repeat; }
15 .test3 img { margin-top: 30px; margin-left: 30px; height: 3em; }
16 .test4 { margin: 3em 1em 1em 3em; background: red url(support/css1test5525b-4.png) no-repeat; }
17 .test4 img { margin-top: -30px; margin-left: -30px; height: 3em; }
18 .test5 { margin: 1em; background: red url(support/css1test5525b-5.png) no-repeat; }
19 .test5 img { margin-right: 30px; margin-bottom: 30px; height: 3em; }
20 .test6 { margin: 1em; background: red url(support/css1test5525b-6.png) no-repeat; }
21 .test6 img { margin-right: -30px; margin-bottom: -30px; } /* has right height */
22 </style>
23 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats" title="9.5 Floats">
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 </head>
26 <body>
27 <p>There should be a tall green box below, with no red.</p>
28 <div>
29 <p class="test1">
30 x x x xx x x x
31 </p>
32 <p class="test2">
33 <img alt="FAIL" src="support/swatch-green.png">
34 x x x xx x x x
35 </p>
36 <p class="test3">
37 <img alt="FAIL" src="support/swatch-green.png">
38 x x x xx x x x
39 </p>
40 <p class="test4">
41 <img alt="FAIL" src="support/swatch-green.png">
42 x x x xx x x x
43 </p>
44 <p class="test5">
45 <img alt="FAIL" src="support/swatch-green.png">
46 x x x xx x x x
47 </p>
48 <p class="test6">
49 <img alt="FAIL" src="support/pattern-grg-rrg-rgg.png">
50 x x x xx x x x
51 </p>
52 </div>
53 </body>
54 </html>