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

text-align-last property

From: Paul Grosso <pgrosso@arbortext.com>
Date: Fri, 25 Oct 2002 10:46:09 -0400 (EDT)
Message-Id: <>
To: www-style@w3.org

This is a personal comment on the css3-text module.  

In 4.3. Last line alignment: the 'text-align-last' property'
[not sure why there is a final quote character there!]:

1.  The XSL spec uses a value of "relative" for what the CSS3
    draft appears to call "auto".

    Question:  Can you confirm (or explain otherwise) that the
    "auto" value here has the same semantic of XSL's "relative"?

    Issue:  Does CSS3 want to use the same value as XSL here?

    Opinion:  I would like to ensure that the semantics
    are the same.  My implementation can handle having two names
    for the same thing, so it isn't crucial to me that CSS3 uses
    "relative", though it does seem a shame to make a difference
    for no reason (and it may be that there are other pressures
    within the W3C to use the same name).

2.  The "justify" value says "The last line will be justified like 
    the other lines."  This seems to say that, in the case:


    the last line will be left aligned.  This is wrong.  The XSL
    spec [1] indicates that "justify":

      Specifies that the contents is to be expanded to fill the
      available width in the inline-progression-direction.

    Note this is crucial in a one line block where text-align is
    left to default to "start" (or inherit) but text-align-last
    is set to "justify" (for example, a table of contents entry
    where you want the line to stretch--probably where there are
    leaders--to fill the page width).



[1] http://www.w3.org/TR/xsl/slice7.html#text-align-last
Received on Friday, 25 October 2002 11:34:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:04 UTC