- From: Simon Sapin <simon.sapin@kozea.fr>
- Date: Mon, 16 Apr 2012 14:18:25 +0200
- To: "Tab Atkins Jr." <jackalmage@gmail.com>
- CC: www-style list <www-style@w3.org>
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. Regards, -- Simon Sapin
Received on Monday, 16 April 2012 12:18:57 UTC