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
Subject:  XSL-FO: keyword "inherit"

The XSL CR spec says about the keyword "inherit": 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

and it should be equivalent to:

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

Is my understanding wrong?


Shinyu Murakami
Antenna House XSL Formatter team
Received on Wednesday, 27 June 2001 13:05:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC