Since a letter is clearly defined as [A-Za-z] all the ids that are failing are invalid anyway... you could have checked that with the W3C validator.
That said, no, Sizzle will remain as fast as it is. --Klaus On 1 Feb., 17:31, Shawphy <[email protected]> wrote: > Firstly,I admit that I would be so crazy. > I tested ALL the special characters on my keyboard which are ~...@#$%^&* > ()_+-=[]\{}|;':"/.,?>< > I removed < and " because they will break the page. > And I know w3c says "ID and NAME tokens must begin with a letter ([A- > Za-z]) and may be followed by any number of letters, digits ([0-9]), > hyphens ("-"), underscores ("_"), colons (":"), and periods (".").". > (http://www.w3.org/TR/html4/types.html#h-6.2) > I did this just because I am so curious about whether jQuery 1.2.6 and > jQuery 1.3.1 will pass the test. > > the following addresses are the > tests:http://shawphy.com/demo/selector/jQuery-1-2-6-selector-test.htmlhttp://shawphy.com/demo/selector/jQuery-1-3-1-selector-test.html > > In jQuery 1.2.6,elements with these IDs fail in the test: > > te\st > te\ > \st > > In jQuery 1.3.1,elements with these IDs fail in the test: > > te~st > te(st > te+st > te[st > te\st > te>st > te,st > te~ > te( > te+ > te[ > te\ > te> > te, > ~st > (st > +st > [st > \st>st > > ,st > > If Sizzle fix these ,it will be so slow, will it ? > I post this mail just for knowing which of them will be fixed?All or > some of them? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
