W3C home > Mailing lists > Public > www-style@w3.org > September 2013

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

From: Dirk Schulze <dschulze@adobe.com>
Date: Fri, 27 Sep 2013 22:12:28 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Alan Stearns <stearns@adobe.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <042F077A-93FE-4DF3-B870-D4EABFF64A1D@adobe.com>

On Sep 28, 2013, at 12:30 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

>> 
>> but I'm OK with adding grammar back in as long as I
>> can avoid the misleading {3,5} and unreadable repetitions of
>> <length>|<percentage>. If <arg> should not be used as a local shorthand,
>> what do you recommend? Shall I make a local definition of #{A,B} that can
>> eventually be added to Values and Units level 4?
> 
> Just make some appropriately-unique named subterm, like
> <rectangle-arg> or something.

It would be extremely helpful to have a general term for <length> | <percentage> since that combination is used quite a lot across all CSS specifications. Also, Alan's rectangle() is just one function that uses this combination, there is circle(), polygon() and ellipse() too.

Finding the right name is hard though. Sometimes it is a coordinate, sometimes a dimension/size or distance. And it must be short too, so that it makes sense to use this new value :)

Greetings,
Dirk
Received on Saturday, 28 September 2013 05:12:56 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 28 September 2013 05:12:56 UTC