W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2003

Re: text-align vs text-align-last

From: David Tolpin <dvd@davidashen.net>
Date: Tue, 23 Sep 2003 15:08:12 +0500 (AMST)
Message-Id: <200309231008.h8NA8Cp9002643@adat.davidashen.net>
To: www-xsl-fo@w3.org

> Is "text-align-last" has higher priority over "text-align" or not?

This is not a question of priorities or precedences. text-align does not
apply to the last line  of a paragraph; if text-align-last is not set,
it is the same as text-align unless text-align is justify; in which case
text-align-last is start.

The Recommendation is unambigious: 

7.15.10.  text-align-last  

XSL Definition: 
Value: relative | start | center | end | justify | inside | outside | left | right | inherit 
Initial: relative 
Applies to: fo:block 
Inherited: yes 
Percentages: N/A 
Media: visual 

Values have the following meanings: 


If text-align is justify, then the alignment of the last line, and of any line
ending in U+000A, will be start. If text-align is not justify, text-align-last
will use the value of text-align.

David Tolpin
Received on Tuesday, 23 September 2003 06:12:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:28 UTC