On 23/09/2009, at 8:18 PM, Vincent Hennebert wrote:
Tony Graham wrote:
On Mon, Sep 21 2009 23:30:17 +0100, jonathan.levin...@intersystems.com
If inherit is allowed to be a value then the grammar truly becomes
since each of these can have the value inherit and we don?t know
which ones are
omitted and must take the value normal.
'inherit' doesn't mix with other values . AFAIK, this is true
for shorthands taken from CSS2.
Well the point you’re referring to says that ‘inherit’ can’t be mixed
with other operations in an expression. Technically speaking the
shorthand is not an expression. And, anyway, the point also says that
the ‘from-parent()’ function can be used instead, which leads to the
That said, your point made me look at the introduction of section
which says that “One cannot mix ‘inherit’ with other subproperty
as it would not be possible to specify the subproperty to which
While this is not always true as we found out, that avoids the
When is it not true?
... Except when the ‘normal’ keyword is used, which applies to all
style/variant/weight properties, and may also lead to ambiguous
Font shorthand implicitly sets _all_ of these values to normal,
If the value is 'inherit', the individual properties for which the
shorthand is a shorthand individually inherit .
Director W3C XSL FO SG Invited
Menteith Consulting Ltd XML Guild
XML, XSL and XSLT consulting, programming and training
Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin,
Registered in Ireland - No. 428599 http://
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
xmlroff XSL Formatter http://
xslide Emacs mode http://www.menteith.com/wiki/
Unicode: A Primer urn:isbn: