- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Apr 2020 00:33:56 +0000
- To: public-css-archive@w3.org
Yes, the point of allowing `,;` is for when you break across lines; it means you can reorder the lines or add/remove lines without having to touch *other* lines. This improves both editability and diffability. > Anyways, doing this for all # can have some strange implications for more general syntaxes. We would indeed need to still manually apply trailing-comma in some properties, but `url("image.png"),,yellow` would continue to be invalid due to the comma-elision rules if we did this. Something like: `#` allows an optional trailing comma (but subject to elision rules, no doubled commas), and any function or property that contains a `#` or a literal `,` in its grammar allows an optional trailing comma at the end of its grammar. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4968#issuecomment-617480570 using your GitHub account
Received on Wednesday, 22 April 2020 00:33:57 UTC