W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2001

XSL-FO: text-align and text-align-last

From: MURAKAMI Shinyu <murakami@nadita.com>
Date: Mon, 25 Jun 2001 12:38:13 -0400 (EDT)
To: xsl-editors@w3.org
Message-Id: <200106260138.FHG75759.NNJLVBSB@nadita.com>
The XSL CR spec says:

    7.14.9 "text-align"
    ...
    justify 
        Specifies that the contents is to be expanded to fill the 
        available width in the inline-progression-direction. 

        The last (or only) line of any block, and any lines in the 
        block ending in U+000A, will be aligned in accordance with 
        the "text-align-last" property value. If such lines are to 
        be justified specify "text-align-last='justify'".
    ...

    7.14.10 "text-align-last"
    ...
    Specifies the alignment of the last line-area in a block, 
    and any lines in the block ending in U+000A.


I think this specification is not sufficient. See the following example.

    <fo:block text-align="justify" text-align-last="start">
        Outer1................................
        ......................................
        ....................
        <fo:block>
            Inner1............................
            ......................
        </fo:block>
        Outer2................................
        ......................................
        ...............
    </fo:block>

The last line of Outer1 (before the nested block Inner1) is neither 
last line of the block nor ending in U+000A. But normally it is expected
to be aligned by the text-align-last property.


Regards,

Shinyu Murakami
Antenna House XSL Formatter team
http://www.antennahouse.com
Received on Monday, 25 June 2001 13:05:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT