W3C home > Mailing lists > Public > www-style@w3.org > June 2013

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 24 Jun 2013 15:47:42 -0400
Message-ID: <51C8A25E.5000701@mit.edu>
To: www-style@w3.org
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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC