- 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
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 UTC