- From: Anders Berglund <alrb@us.ibm.com>
- Date: Wed, 27 Jun 2001 13:05:53 -0400
- To: MURAKAMI Shinyu <murakami@nadita.com>
- Cc: xsl-editors@w3.org
You are quite correct that the definition of first and last line needs to be clarified (for text-indent, last-line-end-indent, and text-align-last). The current text defines: The "text-indent" property specifies an adjustment to the start-indent of the first child L of the first block-area generated and returned by the formatting object, provided L is a line-area. text-align-last: Specifies the alignment of the last line-area child of the last block-area generated and returned by the formatting object, and to any line-area generated by the formatting object whose following sibling is a block-area that is not a line-area, and any lines in the block ending in U+000A. last-line-end-indent: Specifies an indent to be applied to the last line-area child of the last block-area generated and returned by the formatting object, and to any line-area generated by the formatting object whose following sibling is a block-area that is not a line-area. MURAKAMI Shinyu <murakami@nadita.com>@w3.org on 06/25/2001 12:38:13 PM Sent by: w3c-xsl-fo-sg-request@w3.org To: xsl-editors@w3.org cc: Subject: 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 Wednesday, 27 June 2001 13:06:29 UTC