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

Re: [css21] The 'inherit' keyword in shorthand properties

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 14 Oct 2011 14:31:05 -0700
Message-ID: <4E98AA19.4060000@inkedblade.net>
To: www-style@w3.org
On 10/13/2011 08:13 AM, √ėyvind Stenhaug wrote:
> http://www.w3.org/2011/10/12-css-irc#T16-47-22
>
> "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'.

I suggest instead stating that unstated assumption so that this all works
and we don't have to work out every missing detail.

~fantasai
Received on Friday, 14 October 2011 21:31:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:45 GMT