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. ~TJReceived 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