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

On Mon, Jun 24, 2013 at 1:47 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> 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 }


ah, right; i stand corrected... in which case, '0% 0%' appears to be the
correct choice, and not 'initial'

Received on Monday, 24 June 2013 19:57:46 UTC