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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 13 Oct 2011 12:24:59 -0700
Message-ID: <CAAWBYDCRfF6fS8EUXX-KGA1oFc17pgGZ5siB2ZGczJbTnzenzA@mail.gmail.com>
To: Øyvind Stenhaug <oyvinds@opera.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Thu, Oct 13, 2011 at 8:52 AM, Øyvind Stenhaug <oyvinds@opera.com> wrote:
> Well, both, really. What first brought it to mind was indeed the cases where
> the shorthand can't represent all possible combinations. E.g. for
> <div style="border-right-style: solid"><div style="border:
> inherit"></div></div>
> both elements should end up with a solid right border, but you can't do that
> by getting a valid 'border' value from the outer div.
> But more generally, computed values aren't really defined for shorthands as
> far as I can tell, specs mostly just say "see individual properties".

Makes sense.

Received on Thursday, 13 October 2011 19:25:46 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:05 UTC