W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

Re: [csswg-drafts] [css-values] # is easy to confuse with *

From: Simon Sapin via GitHub <sysbot+gh@w3.org>
Date: Thu, 04 Aug 2016 23:01:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-237711502-1470351716-sysbot+gh@w3.org>
Wild guess: it’s a combination of

* Prior knowledge tells you that a polygon is defined by multiple 
points so repetition is obvious
* The grammar is vaguely BNF-like
* No other grammar syntax that one has seen elsewhere has syntax that 
implies that some input characters are required, without using these 
characters (For what it’s worth, for example Rust macros use `$( foo 
)*` for repetition and `$( foo ),*` for comma-separated repetition.)
* The "This specification follows the CSS property definition 
conventions from [CSS21]" bit is in a boilerplate section that no-one 
reads, far from the grammar definitions. And it doesn’t even associate
 grammar syntax with css-values.

-- 
GitHub Notification of comment by SimonSapin
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/381#issuecomment-237711502 
using your GitHub account
Received on Thursday, 4 August 2016 23:02:08 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC