Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / replaced-intrinsic-004.htm
blobe17fc189ced6bcfe0739c7b650ef2ef8bddb48fa
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: Auto Intrinsic Sizes: Intrinsic Height Only and Specified Width</title>
5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height">
7 <meta name="flags" content="svg">
8 <meta name="assert" content="A replaced element with an intrinsic height only and a specified width is drawn at the specified width and intrinsic height.">
9 <style type="text/css">
10 object {
11 border: solid 20px red;
12 background: green;
13 width: 60px;
15 .control {
16 position: absolute;
17 border: solid 20px green;
18 height: 60px;
19 width: 60px;
21 </style>
22 </head>
23 <body>
24 <p>There must be a green box below and no red.</p>
26 <div class="control"></div>
27 <div class="container">
28 <object data="resources/replaced-intrinsic-004.svg" type="image/svg+xml">FAIL: SVG support required</object>
29 </div>
31 </body>
32 </html>