Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t1004-c43-rpl-bbx-00-d-ag.html
blob2579efb5108a5696473f274230a77940d08476fc
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Replaced Elements</title>
5 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 p { color: navy; }
8 div { margin: 1em; }
9 img { display: block; margin-bottom: 5px; }
10 span { color: blue; font: 15px Ahem; vertical-align: top; background: red; display: block; width: 1em; }
11 .b img, .b span { font-size: 4em; height: 1em; }
12 </style>
13 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#min-max-widths" title="10.4 Minimum and maximum widths: 'min-width' and 'max-width'">
14 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-height" title="10.6.2 Inline replaced elements, block-level replaced elements in normal flow, 'inline-block' replaced elements in normal flow and floating replaced elements">
15 </head>
16 <body>
17 <p> There should be no red anywhere. </p>
18 <p> There should be two identical squares after this line: </p>
19 <div class="a">
20 <img alt="FAIL: Replaced content did not get replaced." src="support/swatch-blue.png">
21 <span>X</span>
22 </div>
23 <p> There should be two identical squares after this line: </p>
24 <div class="b">
25 <img alt="FAIL: Replaced content did not get replaced." src="support/swatch-blue.png">
26 <span>X</span>
27 </div>
28 </body>
29 </html>