W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Inline h*ll

From: Håkon Wium Lie <howcome@opera.com>
Date: Tue, 11 Jan 2000 10:13:11 -0500 (EST)
Message-ID: <14459.18734.640000.192331@ETTE>
To: Matthew Brealey <thelawnet@yahoo.com>
Cc: www-style <www-style@w3.org>
Also sprach Matthew Brealey:

 > http://www.opera.com/people/howcome/2000/inline-hades/
 > Impressive.
 > However...
 > 11. <P style="line-height: 14pt; font-size: 12pt;">11.
 > This is a paragraph which<BR>contains a <BIG
 > style="font-size: 300%;">BiG</BIG> element<BR> that
 > will do weird stuff.</P>
 > Since the line-height declaration is 14pt, there
 > should be 14pt between baselines, regardless of the
 > content.

No. All inline boxes on the line are 14pt high, but the baselines are
in different positions due to the effect of "half-leading". Since the
inline boxes are aligned vertically on their baselines, the resulting
line box is higher than 14pt.

Mozilla shows this example in the same manner as Opera 4.



Chief Technology Officer                                Opera Software
Håkon Wium Lie                     http://www.opera.com/people/howcome
howcome@opera.com                                gets you there faster
Received on Tuesday, 11 January 2000 10:14:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:02 GMT