Opened 13 years ago
Closed 12 years ago
#6708 closed bug (fixed)
Opera has inconsistent result for usemap attribute value
Reported by: | kemayo | Owned by: | Timmy Willison |
---|---|---|---|
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.
Change History (6)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Milestone: | 1.4.3 → 1.4.5 |
---|---|
Owner: | set to miketaylr |
Priority: | → low |
Status: | new → assigned |
Version: | 1.4.2 → 1.4.3 |
comment:4 Changed 12 years ago by
Milestone: | 1.4.5 → 1.5 |
---|
comment:5 Changed 12 years ago by
Milestone: | → 1.6 |
---|---|
Owner: | changed from miketaylr to Timmy Willison |
Version: | 1.4.3 → 1.5.2 |
Also fixed in attrhooks for jQuery 1.6: http://jsfiddle.net/uguTR/2/
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Looks like this is fixed if useMap is added to the special regexp: