> One more thing I noticed about the magic selector vs. HTML detection > is this curiosity: > > $('word<br/>').length == 1; > $('<br/>word').length == 1; > $('<br/>word<br/>').length == 3;
I was hesitant to enable the first two because it can be ambivalent. Stuff like this: $("a[title=<foo>]") $("a >") Although, the first one mean that it's malformed HTML/XML, the second is probably a selector that we don't want to support. --John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---