Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / positioning / static-distance-with-positioned-ancestor.html
blob977e005da88faafe8660d85c707125fcb6c09ef9
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: Absolutely positioned, non-replaced elements, static position of fixed element</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-height">
7 <meta name="flags" content="">
8 <meta name="assert" content="The calculation of static position is based on initial containing block when there is a fixed positioned element.">
9 <style type="text/css">
10 #div1
12 border: solid black;
13 height: 2in;
14 position: absolute;
15 top: 1in;
16 width: 3in;
18 div div
20 background: blue;
21 height: 1in;
22 position: fixed;
23 width: 1in;
25 </style>
26 </head>
27 <body>
28 <p>Test passes the blue box is in the upper-left corner of the black box.</p>
29 <div id="div1">
30 <div></div>
31 </div>
32 </body>
33 </html>