Re: [css-shapes] Animating <basic-shape>s updated

On 2/7/14, 5:42 AM, "Boris Zbarsky" <bzbarsky@MIT.EDU> wrote:

>On 2/7/14 12:27 AM, Alan Stearns wrote:
>> Zero lengths are defined to serialize as ‘0px’ in CSSOM. In this case,
>> it’s ambiguous whether the missing value is a length or a percentage.
>
>Why is it ambiguous?  I would think the initial value is specified
>somewhere?

Backgrounds and borders says "the missing offset is assumed to be zero”.

>
> > I went with 0% in the current draft.
>
>Most length-or-percentage things in CSS today use "0" as the initial
>value. for what it's worth.  Maybe all; I can't think of any
>counterexamples offhand.

The background-position property has an initial value of ‘0% 0%’. It’s
that use of <position> that I’m trying to follow.

Thanks,

Alan

Received on Friday, 7 February 2014 14:38:31 UTC