Re: [cssom][css3-values] Serialization of initial from shorthand

On 6/24/13 3:44 PM, Glenn Adams wrote:
> Here's the problem. You specify "center" in the style sheet. Not
> "initial" and not "0% 0%".

...

> And the declaration block you specified in your first example was:
>
> { background-position: center; background: blue; }

This specifies background-position twice: once on its own and once as 
part of the 'background' shorthand.  Returning "center" here for 
background-position in this declaration block would be just as wrong as 
it would be for this case:

   { background-position: center; background-position: top left }

-Boris

Received on Monday, 24 June 2013 19:48:11 UTC