Proposal: text-vertical-position property

'text-vertical-position'
    Value:          bbox | xheight | capheight | ascdesc | <length>
    Initial:        bbox
    Applies to:     block-level, table-cell, table-caption or inline-block elements
    Inherited:      no
    Percentages:    N/A
    Media:          visual
    Computed value: for <length> the absolute value; otherwise as specified

This property specifies the vertical position of text in line boxes within the element.

Values have the following meanings:

bbox
    Align the midpoint between the top and bottom of the font's bounding box with the vertical midpoint of the line box.

xheight
    Align the vertical midpoint of lower case letters with the vertical midpoint of the line box.

capheight
    Align the vertical midpoint of upper case letters with the vertical midpoint of the line box.

ascdesc
    Align the midpoint between the font's ascender top and descender bottom with the vertical midpoint of the line box.

<length>
    Align a point above the font's baseline (positive values), below the font's baseline (negative values), or the baseline itself (zero), with the vertical midpoint of the line box.

-------------
David Perrell

Received on Thursday, 24 January 2008 05:37:21 UTC