W3C home > Mailing lists > Public > www-style@w3.org > February 2014

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

From: Alan Stearns <stearns@adobe.com>
Date: Fri, 7 Feb 2014 14:37:38 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <CF1A2E9B.1844E%stearns@adobe.com>
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

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.



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

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