Side navigation
#6708 closed bug (fixed)
Opened June 22, 2010 10:55PM UTC
Closed April 10, 2011 08:01PM UTC
Opera has inconsistent result for usemap attribute value
| Reported by: | kemayo | Owned by: | timmywil |
|---|---|---|---|
| Priority: | low | Milestone: | 1.6 |
| Component: | attributes | Version: | 1.5.2 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
With the html:
<img id="foo" src="foo.gif" usemap="#bar"/>
This happens:
$('#foo').attr('usemap') == "http://abc.com/abc.html#bar";
$('#foo').get(0).getAttribute('usemap') == '#bar';
All other browsers I've tested return just '#bar' as the attr for usemap.
Attachments (0)
Change History (6)
Changed June 23, 2010 02:11AM UTC by comment:1
Changed October 26, 2010 04:28PM UTC by comment:2
| milestone: | 1.4.3 → 1.4.5 |
|---|---|
| owner: | → miketaylr |
| priority: | → low |
| status: | new → assigned |
| version: | 1.4.2 → 1.4.3 |
Changed October 26, 2010 04:43PM UTC by comment:3
Fiddle showing confirmed behavior: http://jsfiddle.net/uguTR/
Changed January 17, 2011 06:55PM UTC by comment:4
| milestone: | 1.4.5 → 1.5 |
|---|
Changed April 02, 2011 01:36AM UTC by comment:5
| milestone: | → 1.6 |
|---|---|
| owner: | miketaylr → timmywil |
| version: | 1.4.3 → 1.5.2 |
Also fixed in attrhooks for jQuery 1.6: http://jsfiddle.net/uguTR/2/
Changed April 10, 2011 08:01PM UTC by comment:6
| resolution: | → fixed |
|---|---|
| status: | assigned → closed |
Looks like this is fixed if useMap is added to the special regexp: