Closed Bug 881766 Opened 12 years ago Closed 12 years ago

Area map on image not working

Categories

(Core :: DOM: HTML Parser, defect)

19 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: Tobbi, Unassigned)

Details

Attachments

(1 file)

Attached file testcase (zip file)
The area map in the image doesn't appear to be working. STR: 1. Open the attached testcase. 2. Click the 'Karte anzeigen' link. 3. Click on one of the Gebäude ('A-Gebäude', 'B-Gebäude' etc.) Expected behaviour: Loads another screen with room selection. Current behaviour: Doesn't appear to be doing anything. When using the web console to locate the image map, it appears at 0,0 (the left top corner of the screen).
OS: All → Windows 7
Hardware: All → x86
"The usemap attribute, if specified, must be a valid hash-name reference to a map element." http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-hyperlink-usemap so you need to change map.setAttribute("usemap","buildings"); to map.setAttribute("usemap","#buildings");
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: