Closed Bug 259073 Opened 21 years ago Closed 21 years ago

Image Properties don't display for inactive area of image map

Categories

(Firefox :: Menus, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: lachlan.hunt, Assigned: bugzilla)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040911 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040911 Firefox/0.10 In the context menu for an inactive area of an image map where no area element has specied a region, selecting Properties does not display the properties dialog for the image. Selecting Properties for an active area, or an inactive area within a region specifed by an area element, does brings up the properties for the link as expected. This only applies to Firefox, it does not apply to Mozilla 1.8a3. Reproducible: Always Steps to Reproduce: 1. Go to the test URL provided 2. In area 4, select properties from the context menu Actual Results: No properties dialog displayed Expected Results: The properties should display for all regions as it does in Mozilla 1.8a3
Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040912 Firefox/0.10 Confirming this should be a dupe of a fixed bug on trunk, but I can't find it (in Browser/Firefox). setting ->NEW
Status: UNCONFIRMED → NEW
Ever confirmed: true
Note that not only properties but ANY menu item is unisable, and that the imagemap context menu is always the last valid context menu sown (ie the last menu shown on any other item) Try this: 1) Select some plain text (no links) ad rigth-click: a very short menu should appear 2) Rigth-click on the imagemap: the same menu should be shown
Attached patch fixSplinter Review
The properties dialog is not displayed because there's a javascript error. The lines of code I'm removing with my patch were useless because when the click is done on an active part of the image map, this.target.localName contains "AREA". It contains "IMG" only when there's no link.
Attachment #170492 - Flags: review?(mconnor)
Comment on attachment 170492 [details] [diff] [review] fix Right, we shouldn't get to this point (and we actually hit a JS error if we try).
Attachment #170492 - Flags: review?(mconnor) → review+
fix checked in, thanks db48x
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: bugzilla → menus
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: