Skip to main content

Bug Tracker

Side navigation

#7295 closed bug (worksforme)

Opened October 23, 2010 06:59PM UTC

Closed October 23, 2010 07:10PM UTC

Last modified November 07, 2010 03:17PM UTC

Quoteless attribute selectors on href in Firefox 3.6 fail to select

Reported by: Owned by:
Priority: low Milestone: 1.5
Component: selector Version: 1.4.3
Keywords: quoteless attribute selectors Cc:
Blocked by: Blocking:

In jQuery 1.4.2, the following worked in Firefox 3.6:

a[href=#actions] or a[href=/some/url/]

but in jQuery 1.4.3, quotes have to be placed around the attribute values.

Attachments (0)
Change History (3)

Changed October 23, 2010 07:10PM UTC by addyosmani comment:1

component: unfiledselector
keywords: → quoteless attribute selectors
priority: undecidedlow
resolution: → worksforme
status: newclosed

I've tested your first case (a[href=#actions]) here with FF 3.6.x : and it's working fine with 1.4.3. Your second test case is also working fine Tested across FireFox and Webkit-based browsers. Please feel free to re-open if you can provide further test cases that reproduce the issue you submitted.

Changed October 23, 2010 10:30PM UTC by an0nymity comment:2

I'm unable to re-open this ticket, but wanted to provide a test case where this does indeed fail in Firefox 3.6.

It appears it's actually isolated to "live()", as "bind()" works just fine.

Changed November 07, 2010 03:17PM UTC by rwaldron comment:3

#7408 is a duplicate of this ticket.