You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Peter B. West" <pb...@powerup.com.au> on 2002/03/04 00:59:03 UTC

Re: [Xslfo-proc-devel] Core function questions

Arved,

As I read the spec, the diference is that "[i]t is an error if this 
property is not an inherited property," for inherited-property-value(). 
 For from-parent(), it is the value of that property on the parent, 
regardless of inheritance.  This is consistent with the handling of 
shorthands.  Shorthands are not inherited, so they are not an issue for 
inherited-property-value().  They are, however, an issue for 
from-parent(), so special instruction are included for their handling.

Peter

Arved Sandstrom wrote:

>What is the difference between this:
>
>"The returned 'inherited value' is the computed value of this property on
>this object's parent."
>
>which is for inherited-property-value(NCName?), and this:
>
>"The [computed] value returned is that for the parent of the formatting
>object for which the expression is evaluated."
>
>which is for from-parent(NCName?)? Leaving aside the short-hand and
>no-parent behaviour for the latter, the only difference I can see is that
>from-parent() subsumes inherited-property-value(), insofar as from-parent()
>also handles non-inheritable properties. But for an inheritable property I
>think they return the same thing.
>
>The spec says nothing about what properties are applicable for
>from-parent(). Is it the set of properties that are valid on the parent,
>whether they are inheritable or not? Any thoughts?
>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org