Closed
Bug 281143
Opened 20 years ago
Closed 20 years ago
Input type=image should generate default .x and .y cordinates even if the src attribute is missing.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 258621
People
(Reporter: hd1080, Assigned: MatsPalmgren_bugz)
Details
(Keywords: testcase)
Attachments
(1 file)
139 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
The following tag
<input type="Image" alt="Search">
should generate x and y coordinates when a postback occurs. Currenty, the .x and
.y coordinates are empty. They should alteast contain the value 0.
Reproducible: Always
Steps to Reproduce:
Consider the following code:
<html>
<body>
<form method="Get" action="test.html">
<input type="image" name="searchbtn" alt="hello" border="0">
</form>
</body>
</html>
Click the text that gets rendered.
Actual Results:
If you click the text, the url contains the following:
test.html?searchbtn.x=&searchbtn.y=
Expected Results:
.x and .y should atleast be 0.
Here is additional information that discusses this issue with lynx browsers.
http://www.htmlhelp.com/feature/art3c.htm
Updated•20 years ago
|
Assignee: firefox → form-submission
Component: General → HTML: Form Submission
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Comment 2•20 years ago
|
||
###!!! ASSERTION: Form control has a frame, but it's not a form frame: 'Error',
file nsGenericHTMLElement.cpp, line 2249
'imageControlFrame' is NULL:
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/html/content/src/nsHTMLInputElement.cpp&rev=1.379&root=/cvsroot&mark=2169,2179,2184-2185#2160
It's an easy kill, but I going to make an attempt to get rid of the ASSERT at
the same time...
Assignee: form-submission → mats.palmgren
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•20 years ago
|
||
Mats, the assert is bug 230589.
This bug, as filed, is a duplicate of bug 258621. Please see that bug for an
explanation of why our behavior is what it is and why it's not changing.
*** This bug has been marked as a duplicate of 258621 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•