W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: [CSS21] vertical-align

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 11 Oct 2007 12:24:40 -0400
Message-ID: <470E4E48.1020801@inkedblade.net>
To: Andrew Fedoniouk <news@terrainformatica.com>
CC: www-style@w3.org

Andrew Fedoniouk wrote:
> 
> Reading[1]...
> 
> First question about vertical-align: baseline and elements that are 
> display:inline-block.
> 
> Does for example <span style="display:inline-block">Text1<br/>Text2</span>
> have a baseline? If it does I would like to know what is an exact value of
> baseline shift for such an inline block.

See the last sentence in
   http://www.w3.org/TR/CSS21/visudet.html

> "Note. Values of this property have slightly different meanings
> in the context of tables. Please consult the
> section on table height algorithms for details."
> 
> I believe that "slightly different" is, well, slightly not the case.
> 
> There are two distinct meaning of vertical-alignment  here.
> First: vertical-alignment is an alignment of block itself in its parent
> context and second (table cells) is an instruction for a *container*
> of how to position its children.  These two are conceptually different
> cases so I propose to remove that "slightly" from the note.

Recorded as issue 9:
   http://csswg.inkedblade.net/spec/css2.1#issue-9

~fantasai
Received on Thursday, 11 October 2007 16:24:53 GMT

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