W3C home > Mailing lists > Public > www-style@w3.org > March 2011

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 07 Mar 2011 14:04:45 -0800
Message-ID: <4D75567D.70102@inkedblade.net>
To: www-style@gtalbot.org
CC: W3C style mailing list <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:38 GMT