5 <title>This is a quirks-mode version of empty-inline-line-height-first-line.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=
"Robert Hogan" href=
"robert[at]roberthogan.net">
9 <link rel=
"author" title=
"GĂ©rard Talbot" href=
"http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
10 <link rel=
"author" title=
"Bruno Fassino" href=
"fassino[at]gmail.com">
11 <meta content=
"The line-height of an empty inline element with a first-line pseudo-element is evaluated separately from the line-height of subsequent lines" name=
"assert">
12 <meta content=
"" name=
"flags">
14 <style type=
"text/css">
17 background-color: lime
;
31 #reference-overlapped-red
33 background-color: red
;
42 #relatively-positioned-wrapper
50 <body style=
"font: 16px Ahem;">
52 <!--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).-->
54 <div id=
"relatively-positioned-wrapper">
58 <span id=
"empty-inline-element"></span>X
61 <div id=
"reference-overlapped-red">X
</div>