Closed Bug 31188 Opened 25 years ago Closed 24 years ago

INPUT=IMAGE ignores the USEMAP attribute.

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: chrispetersen, Assigned: rods)

References

()

Details

build: Apprunner
version: 2000030813
Platforms: All
Expected results: A  input=image element should use the USEMAP attribute. 
Clicking on the "red square" of image should use the href in MAP element.

What I got: The input=image element acts like a submit button and ignores the 
USEMAP attribute.

Steps to reproduce:

1) Open the following url: http://members.home.com/chowten/input_usemap_test.html

2) Click on the "red square" centered in the green larger green square.

3) Instead of using href assigned, the input=image submits x and y coordinates.
mass-move to M16
Target Milestone: --- → M16
setting to M20
Severity: normal → minor
Status: NEW → ASSIGNED
Target Milestone: M16 → M20
Was the USEMAP attribute part of html32? Was it widely used? If yes and yes, 
shouldn't this be a higher priority than M20?
This bug has been marked "future" because at this time it has been determined 
that it is not absolutely critical for RTM (Release To Manufacturing). If the 
reporter and anyone else believe it is necessary to fix this before shipping 
Seamonkey 1.0, please describe your issue in the bug. 
Target Milestone: M20 → Future
I'll give you one reason to not move it up to Future... It has been fixed!

Here is the test case, with the URIs fixed:
   http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/input-usemap.html
...(I took the test case by Chris Petersen and created a new picture for it,
and pointed the test page to the new picture and a new acknowledger script).

Try it. It works.

rods: Could you just check the source to make sure it is _supposed_ to work, and
that there are no obvious holes here? If you don't find any, I suggest you mark
this fixed quietely, and not mention this to the PDT team... ;-)
Target Milestone: Future → M16
If it is fixed, it is fixed. And I don't even have to be quiet about it. Cool, 
somebody else fixed somnething and it now works.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Cool. Well, VERIFIED since I could not get the test case to fail...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.