W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-syntax] dash-match and includes-match tokens (was: Reviving the spec, starting with the parser)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 16 Apr 2012 10:59:15 -0700
Message-ID: <CAAWBYDDx4ZKf5w9aMmYcbB-O98Nh=RMXnsCYy_B1Z3TAQavJRA@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style list <www-style@w3.org>
On Mon, Apr 16, 2012 at 5:18 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Hi,
> Both css21 and this new draft have special tokens for ~= and |=
> As far as I know, they are only used as operators in attribute selectors.
> However, selectors3 already adds ^=, $= and *= to the list of operators.
> selectors4 or future levels could add more. Should the tokenizer change
> every time this happens?
> Instead, I suggest to remove these tokens entirely. This means that most
> attribute selector operators would be made of two DELIM tokens. Selector
> parsers based on css3-syntax would have to look ahead to parse these
> operators. As an implementer, I think this is not a problem; but I don’t
> know the details of other implementations.
> The benefit would be that we would not need to change the core syntax to add
> attribute selector operators, including those that already are in level 3.

I agree.  They're removed now.

Received on Monday, 16 April 2012 18:00:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:14 UTC