- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Jun 2017 20:06:08 +0000
- To: public-css-archive@w3.org
Oh, and note that comments are allowed *anywhere* between two tokens. This is implicit in ["consume a token"](https://drafts.csswg.org/css-syntax/#consume-token) - whenever you ask for the next token, it automatically consumes (and silently discards) any comments as well. In [Serialization](https://drafts.csswg.org/css-syntax/#serialization), it's specified that impls are *allowed* to remember where comments were, and re-insert them during serialization if they wish, but this information must have no effect on parsing - as far as CSS parsing and grammars are concerned, comments don't exist. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/1498#issuecomment-306290120 using your GitHub account
Received on Monday, 5 June 2017 20:06:14 UTC