Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / inline-box-002-expected.html
blob9a54aaee1796000b9138c3053e5c3196582fd794
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Block boxes within inline boxes are affected by positioning</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">
7 <meta name="flags" content="">
8 <meta name="assert" content="Block boxes within inline boxes are also affected by relative positioning on the inline box.">
9 <style type="text/css">
10 #div1
12 background: yellow;
13 height: 2in;
14 position: relative;
15 width: 2in;
17 #div2
19 background: blue;
20 display: inline;
21 position: relative;
22 top: 2in;
24 #div3
26 position: relative;
27 top: 2in;
28 background: orange;
29 width: 2in;
31 </style>
32 </head>
33 <body>
34 <p>Test passes if the orange box is between the two blue boxes and all three boxes are below the yellow box.</p>
35 <div id="div1">
36 <span id="div2">Filler Text</span>
37 <div id="div3">Filler Text</div>
38 <span id="div2">Filler Text</span>
39 </div>
40 </body>
41 </html>