Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / absolute-replaced-height-007.htm
blob061e4f0369f7fe5f9aea35775d75bcb60cfe205c
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Absolute replaced elements with percentage based intrinsic height that cannot be resolved</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-replaced-height">
7 <meta name="flags" content="">
8 <meta name="assert" content="An absolutely positioned replaced element with a percentage height that cannot be resolved has no intrinsic height.">
9 <style type="text/css">
10 #div1
12 position: relative;
14 div div
16 border: solid green;
17 position: absolute;
18 top: 0;
19 width: 300px;
21 iframe
23 border: solid red;
24 position: absolute;
25 width: auto;
27 </style>
28 </head>
29 <body>
30 <p>Test passes if there is no red visible on the page.</p>
31 <div id="div1">
32 <iframe height="50%"></iframe>
33 <div></div>
34 </div>
35 </body>
36 </html>