Skip to main content

Bug Tracker

Side navigation

#11918 closed bug (fixed)

Opened June 15, 2012 11:21AM UTC

Closed July 03, 2012 05:11PM UTC

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

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


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



Attachments (0)
Change History (1)

Changed July 03, 2012 05:11PM UTC by dmethvin comment:1

component: unfiledselector
milestone: None1.8
priority: undecidedlow
resolution: → fixed
status: newclosed

This was fixed in the Sizzle refactor.