Re: [CSS21] WD 07 Dec. 2010: section 10.8 vertical-align <percentage> and <length>

On 12/26/2010 02:40 PM, "Gérard Talbot" wrote:
> Hello all,
>
> WD 7 dec 2010, Section 10.8.1
> http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align
>
> {
> <percentage>
>      Raise (positive value) or lower (negative value) the box by this
> distance (a percentage of the 'line-height' value). The value '0%'
> means the same as 'baseline'.
> <length>
>      Raise (positive value) or lower (negative value) the box by this
> distance. The value '0cm' means the same as 'baseline'.
> }
>
> Somehow the wording of these sentences do not *explicitly* indicate that
> it raises|lowers the box above|below the baseline of the parent inline box
> by such distance.

I don't think the raising or lowering is with respect to the baseline
so much as it's with respect to the position it would otherwise occupy.
So I think the spec is sufficiently clear for this...

~fantasai

Received on Monday, 7 March 2011 22:05:22 UTC