W3C home > Mailing lists > Public > www-xsl-fo@w3.org > July 2007

Could someone please clarify the spec for alignment-adjust

From: Max Berger <max@berger.name>
Date: Fri, 6 Jul 2007 21:34:35 +0200
Message-Id: <C32CDB26-0EBE-4423-8248-6729BB275890@berger.name>
Cc: fop-dev@xmlgraphics.apache.org
To: www-xsl-fo@w3.org
Dear XSl-Fo experts,

I am now a little confused about the spec on alignment-adjust.  My  
Reference is xsl-fo 1.1 [1]

7.31.22 "vertical-align"

[...]

<percentage>
Raise (positive value) or lower (negative value)

[...]


<percentage> [...]
alignment-adjust="<percentage>"


Which says: Positive numbers raise the box, negative numbers lower  
it, and vertical-align is to be interpreted the same as alignment- 
adjust. HOWEVER

7.14.1 "alignment-adjust

[...]

<percentage>
[...] The offset is opposite to the shift-direction if that value is  
positive and in the shift-direction if that value is negative value).

7.29.7 "writing-mode"

[...] lr-tb [...]

Typically, this is the writing-mode for normal "alphabetic" text.



[...] shift-direction to bottom-to-top

Which together results in: a positive value will shift towards bottom  
(lower the box), while a negative value shifts towards top (raise the  
box),which is contradictory to the specification before.

I may have missed something, but I believe this is contradictory.  
Could someone please clarify on this?



[1] http://www.w3.org/TR/xsl/

Max Berger
e-mail: max@berger.name

--
PGP/GnuPG ID: E81592BC   Print: F489F8759D4132923EC4  
BC7E072AB73AE81592BC
For information about me or my projects please see http:// 
max.berger.name



Received on Friday, 6 July 2007 19:34:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT