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

On 2/3/14, 8:14 AM, "fantasai" <fantasai.lists@inkedblade.net> wrote:

>On 01/31/2014 03:12 PM, Alan Stearns wrote:
>>
>> Going through our testcases, the proposed wording above doesn’t say what
>> type to use for a missing offset in the 4-value form. So a specified
>>value
>> like:
>>
>> bottom right 10px
>>
>> Could serialize to either of these:
>>
>> right 10px bottom 0%
>> right 10px bottom 0px
>>
>> I’m inclined to go with 0%, just because a percent seems more generic
>>than
>> picking a particular distance unit.
>
>Zero lengths don't require a unit. Would that work?

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. I
went with 0% in the current draft.

Thanks,

Alan

Received on Friday, 7 February 2014 05:28:23 UTC