Skip to main content

Bug Tracker

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 dmethvin comment:1

Looks like this is fixed if useMap is added to the special regexp:

	rspecialurl = /href|src|style|useMap/,

Changed October 26, 2010 04:28PM UTC by miketaylr comment:2

milestone: 1.4.31.4.5
owner: → miketaylr
priority: → low
status: newassigned
version: 1.4.21.4.3

Changed October 26, 2010 04:43PM UTC by miketaylr comment:3

Fiddle showing confirmed behavior: http://jsfiddle.net/uguTR/

Changed January 17, 2011 06:55PM UTC by dmethvin comment:4

milestone: 1.4.51.5

Changed April 02, 2011 01:36AM UTC by timmywil comment:5

milestone: → 1.6
owner: miketaylrtimmywil
version: 1.4.31.5.2

Also fixed in attrhooks for jQuery 1.6: http://jsfiddle.net/uguTR/2/

Changed April 10, 2011 08:01PM UTC by timmywil comment:6

resolution: → fixed
status: assignedclosed