Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / empty-inline-003-quirksmode.htm
blob7e1f490b2684501291dbd03e6275191638a1fe40
1 <html>
3 <head>
5 <title>This is a quirks-mode version of empty-inline-003.htm from the CSS 2.1 test suite</title>
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height">
8 <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
9 <link rel="author" title="Bruno Fassino" href="fassino[at]gmail.com">
10 <meta content="The line-height of an empty inline element influences the height of a line containing it with some other content" name="assert">
11 <meta content="" name="flags">
13 <style type="text/css">
15 #test
17 background-color: lime;
18 line-height: 1;
21 #empty-inline-element
23 line-height: 5;
26 #reference-overlapped-red
28 background-color: red;
29 left: 0;
30 line-height: 5;
31 position: absolute;
32 top: 0;
33 width: 100%;
34 z-index: -1;
37 #relatively-positioned-wrapper
39 position: relative;
41 </style>
43 </head>
45 <body style="font: 16px Ahem;">
46 <!--In quirks mode there should be a green rectangle with a red rectangle of equal width but greater height below it, each contains a black box (X in ahem font).-->
48 <div id="relatively-positioned-wrapper">
49 <div id="test"><span id="empty-inline-element"></span>X</div>
50 <div id="reference-overlapped-red">X</div>
51 </body>
52 </html>