W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2019

[csswg-drafts] [css-syntax] CDC-token is ignored (#3623)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 07 Feb 2019 19:37:00 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-407863948-1549568219-sysbot+gh@w3.org>
tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax] CDC-token is ignored ==
(migrated from mailing list)

**Beau Brueggemann said:**

> In section 4.3.1, "Consume a token", under subsection "U+002D HYPHEN-MINUS (-)", there is an unreachable portion of the algorithm.
> 
> The second paragraph here states:
> "[...] if the input stream starts with an identifier, [...] consume an ident-like token".
> 
> Section 4.3.10, "Check if three code points would start an identifier", returns true when the first two code points are U+002D.
> 
> This means we can never reach the third paragraph (under the U+002D subsection of 4.3.1) with the two U+002D code points needed for the CDC-token.

---------------

**Tab Atkins said:**

> Good catch! I didn't think of the ordering of those cases when I made
> the change to ident syntax.  Fixed.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3623 using your GitHub account
Received on Thursday, 7 February 2019 19:37:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:43 UTC