Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / float-replaced-height-007.htm
blob1063c5a8c827699dd6f82d590baa473505f92416
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: Floated 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#inline-replaced-height">
7 <meta name="flags" content="">
8 <meta name="assert" content="A floated replaced elements 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 height: 150px;
18 position: absolute;
19 top: 0;
20 width: 300px;
22 iframe
24 border: solid red;
25 float: left;
26 width: auto;
28 </style>
29 </head>
30 <body>
31 <p>Test passes if there is no red visible on the page.</p>
32 <div id="div1">
33 <iframe height="50%"></iframe>
34 <div></div>
35 </div>
36 </body>
37 </html>