- From: Alan Stearns <stearns@adobe.com>
- Date: Sun, 17 Mar 2013 11:38:44 -0700
- To: "Tab Atkins Jr." <jackalmage@gmail.com>, Bjoern Hoehrmann <derhoermi@gmx.net>
- CC: www-style list <www-style@w3.org>
On 3/14/13 4:39 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote: >On Thu, Mar 14, 2013 at 3:38 PM, Bjoern Hoehrmann <derhoermi@gmx.net> >wrote: >> * Tab Atkins Jr. wrote: > >>>An example of the current syntax, taken from the current spec: >>> >>>grid-definition-columns: "first" "nav" 150px "main" 1fr "last"; >>>grid-definition-rows: "first" "header" 50px "main" 1fr "footer" 50px >>>"last"; >>> >>>Our current suggestion for fixing this is to switch the line names to >>>idents, and then use () to surround each set of line names: >>> >>>grid-definition-columns: (first nav) 150px (main) 1fr (last); >>>grid-definition-rows: (first header) 50px (main) 1fr (footer) 50px >>>(last); >> >> That does seem better to me, but I note that juxtaposed identifiers >> without a separator can be quite confusing; some might read this as >> >> grid-definition-columns: "first nav" 150px ... >> grid-definition-rows: "first header" 50px ... >> >> and that is probably not intended. > >Juxtaposed identifiers are used all over CSS without any confusion. I >can see what you mean, but it should be clear from the grammar, and >immediately clear upon use. Do you have an example of a juxtaposed identifier in CSS usage that means "these are two names for the same thing"? Juxtaposed identifiers in CSS specification grammar have a very different meaning than this. I agree that the proposed grouping syntax is better, I'm just looking for more reassurance. Thanks, Alan
Received on Sunday, 17 March 2013 18:39:15 UTC