Closed Bug 130918 Opened 22 years ago Closed 21 years ago

nonexistent input type=image without width/height does not submit x/y

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 122238
Future

People

(Reporter: rid, Unassigned)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.9) Gecko/20020311
BuildID:    2002031106

Using a image button within a form, where the picture where not available (404)
does not create the POST - just reloads the page. There are NO submitted data. 
Code of the button:
<input type="image" align="absmiddle" border="0" name="B_NEXT"
src="gfx/de/w_next.gif" alt="weiter">

Reproducible: Always
Steps to Reproduce:
1. press a image button within a form, which image data are not available


Actual Results:  Mozilla reloads the form

Expected Results:  The click on the button should work, as the image could have
been loaded - and might then submit in the example abobe e.g. B_NEXT_x=0 B_NEXT_y=0

I have not tested, if this also happens, if height/width are given.
QA Contact: madhur → tpreston
I've tried it on Mac and PC with fc1 : the form does not submit the name.x and
name.y when the image is 404. IE does submit .x and .y in that case and the
spec makes no special mention of the 404 case.
The description for this bug is misleading.  It's not reloading the page, it's
submitting just fine.  The complaint is that a 404 image button without
width/height does not submit an x/y.  For some reason Mozilla replaces that case
with a text link.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Image buttons, which picture are no available do not POST data/submit → nonexistent input type=image without width/height does not submit x/y
-->
Assignee: rods → jkeiser
This will only affect obviously unmaintained pages, doesn't really affect them
that badly, and there is a workaround.
Assignee: jkeiser → form
OS: Mac System 9.x → All
Priority: -- → P4
Hardware: Macintosh → All
Target Milestone: --- → Future
Duplicate of Bug 122238.

*** This bug has been marked as a duplicate of 122238 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.