W3C home > Mailing lists > Public > www-style@w3.org > October 2011

[css21] The 'inherit' keyword in shorthand properties

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Thu, 13 Oct 2011 17:13:48 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.v3apxagbbunlto@oyvinds-desktop>

"RESOLVED: accept TabAtkins and fantasai's proposal such that inherit  
turns the specified value into the parent's computed value"

I just realized that this doesn't necessarily make any sense for shorthand  
properties. In fact, most of chapter 6 seems to operate under an unstated  
assumption that each declaration setting a shorthand has been converted to  
equivalent declarations for the corresponding longhand properties.

There is a sentence about how declaring a shorthand to be !important is  
equivalent to declaring all of its sub-properties to be !important.  
Probably there should be similar wording for 'inherit'.

Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Thursday, 13 October 2011 15:14:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:05 UTC