W3C home > Mailing lists > Public > www-amaya@w3.org > October to December 2006

Re: First line of <ul> does not honor CSS line-height

From: Stanimir Stamenkov <stanio@myrealbox.com>
Date: Tue, 07 Nov 2006 18:35:29 +0200
Message-ID: <4550B5D1.6020602@myrealbox.com>
To: www-amaya@w3.org
/Chris Beall/ (Open bug [CSS012]):

> See http://pages.prodigy.net/chris_beall/Amaya/list%20spacing%20tests.html
> 
> If a line-height is specified (in the example provided it is set to 130%)
> Amaya correctly spaces the lines within an <li> but uses default line
> spacing between consecutive <li>s.  This results in uneven line spacing
> within the <ul>.

This is also observed with any block box - see the attached example 
and compare with some of the popular browsers. The CSS spec 
basically says the height of a block box is 
<http://www.w3.org/TR/CSS21/visudet.html#normal-block>:

> If it only has inline-level children, the height is the distance 
> between the top of the topmost line box and the bottom of the 
> bottommost line box.

Given the height of a line box 
<http://www.w3.org/TR/CSS21/visudet.html#line-height>.

[CSS012] 
<http://dev.w3.org/cvsweb/~checkout~/Amaya/doc/Amaya_open_bugs.html?content-type=text/html&only_with_tag=HEAD#CSS012>

-- 
Stanimir

Received on Tuesday, 7 November 2006 16:35:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:52 UTC