Re: [csswg-drafts] [css-images-4] Editorial: comma is incorrect in syntax graph in 2.3. Gradient Color-Stops

Yeah, I misunderstood your original comment. Why not just link to https://drafts.csswg.org/css-values-4/#comb-comma which explains this in detail, instead of re-explaining it in comments here?

On one hand, this does really simplify grammars that would be pointlessly convoluted otherwise. On the other hand, it makes grammars inconsistent from any other grammar definition or regex anywhere else, which could confuse many. It would be better to have a specific operator for this (just like we invented `#`) than custom rules about what quantifiers apply to.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/976#issuecomment-290884497 using your GitHub account

Received on Saturday, 1 April 2017 01:38:22 UTC