W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2001

Re: XSL-FO: keyword "inherit"

From: Anders Berglund <alrb@us.ibm.com>
Date: Wed, 27 Jun 2001 13:05:15 -0400
To: MURAKAMI Shinyu <murakami@nadita.com>
Cc: xsl-editors@w3.org
Message-ID: <OF5FCC4D91.B70CD5F0-ON85256A78.005DD878@pok.ibm.com>

The "inherit" keyword is NOT allowed as an expression mixed with
operations (eg arithmetic, functions) in accordance with 5.9.12.
The functionality you ask for is handled using functions, such
as from-parent(NCName?) and inherited-property-value(NCName?).
These functions provide additional functionality over the "inherit"
keyword, which is present for CSS2 compatibility.

MURAKAMI Shinyu <murakami@nadita.com>@w3.org on 06/25/2001 12:42:48 PM

Sent by:  w3c-xsl-fo-sg-request@w3.org


To:   xsl-editors@w3.org
cc:
Subject:  XSL-FO: keyword "inherit"



The XSL CR spec says about the keyword "inherit":

    5.9.10.1 inherit
    The property takes the same computed value as the property for
    the formatting object's parent object

In this description it seems not to be considered that the keyword
"inherit" may be used in expressions.
However the property expression syntax does not disallow it.
A clarification is needed.

I think the following property expression should be valid.

    <fo:block start-indent="inherit + 1cm">
        1cm indented from outer area
    </fo:block>

and it should be equivalent to:

    <fo:block start-indent="inherited-property-value(start-indent) + 1cm">
        1cm indented from outer area
    </fo:block>

Is my understanding wrong?


Regards,

Shinyu Murakami
Antenna House XSL Formatter team
http://www.antennahouse.com
Received on Wednesday, 27 June 2001 13:05:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT