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

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