RE: [css3-background] background-shorthand and its background-clip side-effect

> From: fantasai [mailto:fantasai.lists@inkedblade.net]


> That's overkill. There's no reason to involve a slash to address
> Sylvain's
> concern about being able to set both. You just put
> 
>    [border-box|padding-box|content-box]{0,2}
> 
> in the background shorthand. Zero occurrences sets both background-clip
> and background-origin to their initial values. One occurrence sets both
> to the given value. Two (immediately adjacent) occurrences sets the
> first
> to origin and the second to clip (because you position before you clip).
> 
> This is much more consistent with CSS syntax elsewhere.

I agree that this seems much more consistent with existing CSS practice and authors'
expectations.

Received on Thursday, 4 March 2010 20:17:07 UTC