W3C home > Mailing lists > Public > www-style@w3.org > June 2014

[css-syntax] CDC-token is ignored

From: Beau Brueggemann <beau.brueggemann@gmail.com>
Date: Fri, 6 Jun 2014 03:00:36 -0500
Message-ID: <CABiQz1SKt1D9UCHo_sQMNdd77=QK1WCrfF04Ja_f0x8r43pRaA@mail.gmail.com>
To: www-style@w3.org
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.

Cheers!
Beau
Received on Friday, 6 June 2014 08:02:33 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:22 UTC