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

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 UTC