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

text-align vs text-align-last

From: Victor Vishnyakov <tch_@mail.ru>
Date: Tue, 23 Sep 2003 13:04:13 +0300
To: <www-xsl-fo@w3.org>
Is "text-align-last" has higher priority over "text-align" or not?
I could not find definitive ansver in the spec an tried to test it
empirically. Thus I create the following file and run all known
formatters over it:
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:simple-page-master master-name="only">
 <fo:page-sequence master-reference="only">
  <fo:flow flow-name="xsl-region-body">
    <fo:block border="1px" margin="10px" text-align="left"
FOP and Ibex aligned text to the left side of the page
XEP and XSLFormatter aligned text to the right side
The question: which alignation should be used for the 1-line blocks if
"text-align" is not the same to "text-align-last" and why?
Received on Tuesday, 23 September 2003 05:59:17 UTC

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