jQuery can't select elements by completely valid CSS selector "$('.\\')" but makes unwished DOM element
I posted a ticket but it was rejected as a sapn. So I wrote it my blog and linked it.
Trac Error
Submission rejected as potential spam (Akismet says content is spam)
http://bugs.jquery.com/newticket
http://bugs.jquery.com/ticket/9776
-
- -
".\
CSS Validator Result:
http://jigsaw.w3.org/css-validator/validator?text=.tab%5C%3Cimg%5C%3E+%7B%0D%0A++++background-color+%3A+%23ffc0cb%3B+%0D%0A%7D+%0D%0A.tab%5C%3CHello%5C%21%3Abefore+%7B+%0D%0A++++content+%3A+%22Hello%21+%22%3B+%0D%0A%7D%0D%0A.World%5C%21%5C%3E%3Aafter+%7B+%0D%0A++++content+%3A+%22+World%21%22%3B+%0D%0A%7D%0D%0A&profile=css21&usermedium=all&type=css&warning=2&vextwarning=
But jQuery can't find elements by the selector.
jQuery Result:
http://jsfiddle.net/nH26U/1/
http://jsfiddle.net/nH26U/2/
Solution:
Ticket #9521