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

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.

~TJ

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