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: | an0nymity@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.5 |
Component: | selector | Version: | 1.4.3 |
Keywords: | quoteless attribute selectors | Cc: | |
Blocked by: | Blocking: |
Description
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 comment:1
component: | unfiled → selector |
---|---|
keywords: | → quoteless attribute selectors |
priority: | undecided → low |
resolution: | → worksforme |
status: | new → closed |
Changed October 23, 2010 10:30PM UTC by 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. http://jsfiddle.net/GBwhh/12/
It appears it's actually isolated to "live()", as "bind()" works just fine.
I've tested your first case (a[href=#actions]) here with FF 3.6.x : http://jsfiddle.net/addyosmani/GBwhh/ and it's working fine with 1.4.3. Your second test case is also working fine http://jsfiddle.net/addyosmani/GBwhh/2/. 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.