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

Re: inherit and reference-orientation

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Thu, 28 Aug 2003 23:14:21 -0400
Message-Id: <5.2.0.9.0.20030828231043.00bb8190@pop.storm.ca>
To: www-xsl-fo@w3.org

At 2003-08-28 22:32 +1000, Craig Brown wrote:
>Just a quick question on how inherit works with reference-orientation.
>
>According to the spec, reference-orientation is inherited.
>
>Does this mean that if I set reference-orientation to "inherit" it
>is the same as not setting it at all?

This is the behaviour exhibited by Antenna House for your example below.

>I created a file including:
>
>     <fo:simple-page-master ... reference-orientation="90">
>       <fo:region-body reference-orientation="inherit" .../>
>     </fo:simple-page-master>
>
>renderx rendered this with the final orientation of the
>region body as 180 degrees (upside down),

Hmmmmmm .... perhaps because inheritance happens during the act of 
refinement, the property value is being inherited and applied a second time 
because it is explicit.

>Does anyone know what the exact behaviour should be?

I'm not positive which is correct, but I would lean towards your intuition 
that "inherit" is the same as absent.  Traits are derived during 
refinement, not properties, so it would make sense to me that "inherit" is 
the same as absent.

I hope this helps, though I realize it isn't definitive.  Perhaps someone 
on the XSL WG can comment.

..................... Ken


--
Next public European delivery:  3-day XSLT/2-day XSL-FO 2003-09-22
Instructor-led on-site corporate, government & user group training
for XSLT and XSL-FO world-wide:  please contact us for the details

G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                       Definitive XSLT and XPath
ISBN 0-13-140374-5                               Definitive XSL-FO
ISBN 1-894049-08-X   Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X               Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:     http://XMLGuild.info
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/f/bc
Received on Thursday, 28 August 2003 23:14:26 GMT

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