Bug Tracker


Ticket #11918 (closed bug: fixed)

Opened 23 months ago

Last modified 22 months ago

:eq selector problem when using tag name with ':'

Reported by: pawel@… Owned by:
Priority: low Milestone: 1.8
Component: selector Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:


Hello, There is a problem when using selector with ':' (ex. :eq() ) with tag name contains ':'. Example:


<div id="footer"><flow:fileref> TEST </flow:fileref></div>

I can't get element 'flow:fileref' with selector:

$("div#footer>flow\ \:fileref:eq(0)") <-- this is not working

but it works without :eq(0)

$("div#footer>flow\ \:fileref") <-- works

The same thing if using :gt etc.

Tested on jQuery 1.7.2, Windows 7, Firefox 13 and Opera 12.00

Thanks, Pawel

Change History

comment:1 Changed 22 months ago by dmethvin

  • Priority changed from undecided to low
  • Resolution set to fixed
  • Status changed from new to closed
  • Component changed from unfiled to selector
  • Milestone changed from None to 1.8

This was fixed in the Sizzle refactor.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.