Re: [css-shapes] basic shape syntax in prose

On 9/27/13 12:11 PM, "Dirk Schulze" <dschulze@adobe.com> wrote:

>
>On Sep 27, 2013, at 8:23 PM, Alan Stearns <stearns@adobe.com> wrote:
>
>> Hey all,
>> 
>> I've received very consistent feedback that the section on basic shape
>> syntax is too difficult to interpret. So I've substituted the previous
>> definitions for prose descriptions:
>> 
>> This:
>> 
>> rectangle([<length>|<percentage>][, [<length>|<percentage>]]{3,5})
>> 
>> Becomes this:
>> 
>> rectangle() takes either four or six arguments of <length> or
>><percentage>
>> 
>> 
>> The prose also refers now to the rules for functional notation from
>>Values
>> and Units [1], which actually makes the definition more precise (what
>>was
>> in the draft before did not account for optional whitespace within the
>> parentheses).
>
>That seems quite unusual. Why not do both. The official CSS property
>definition and the prose text? I for instance like to read the grammar
>defined by CSS Values and Units better.

I have added back in a syntax section for your reading enjoyment.

Thanks,

Alan

Received on Monday, 30 September 2013 21:44:28 UTC