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:

With the html:

<img id="foo" src="foo.gif" usemap="#bar"/>

This happens:

$('#foo').attr('usemap') == "";
$('#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

owner: → miketaylr
priority: → low
status: newassigned

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

Fiddle showing confirmed behavior:

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


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

milestone: → 1.6
owner: miketaylrtimmywil

Also fixed in attrhooks for jQuery 1.6:

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

resolution: → fixed
status: assignedclosed