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

/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