Closed
Bug 182155
Opened 23 years ago
Closed 23 years ago
Form badly displayed and unusable when HTML starts by <form> tag
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: herve_foucher, Unassigned)
References
Details
Attachments
(1 file)
|
119 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2) Gecko/20021126
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.2) Gecko/20021126
When your HTML file starts with <form>(*), the form is badly interpreted and
doesn't work at all.
(*) I know... it shouldn't but this is done by webmasters when testing forms
Reproducible: Always
Steps to Reproduce:
1. Create the following file (no leading characters):
<form method="get" action="http://destination/url.php">
<input name="number" value="1"><input type="submit" value="OK">
</form>
2. Press the submit button (OK button)
Actual Results:
When pressing OK button, the browser doesn't jump to http://destination/url.php
but instead remain on the same page and append a ? in the URL field.
Expected Results:
Should have lead user to http://destination/url.php?number=1
Workarround: insert text before the FORM tag:
<p>Text</p>
<form method="get" action="http://destination/url.php">
<input name="number" value="1"><input type="submit" value="OK">
</form>
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
testcase worksforme, linux trunk build 2002-11-25-12
Comment 3•23 years ago
|
||
I can confirm this bug on the testcase with Windows 2000
build:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126
Comment 4•23 years ago
|
||
occurs only on 1.2, not on trunk.
Comment 5•23 years ago
|
||
Testcase works with Windows 2000 build 2002-11-20-08
This is 1.2-branch only. See bug 182500.
Comment 7•23 years ago
|
||
*** Bug 182580 has been marked as a duplicate of this bug. ***
Comment 8•23 years ago
|
||
*** Bug 182696 has been marked as a duplicate of this bug. ***
I have tested that this bug was an instance of bug 182500 / bug 182253 based on
comparison of two Linux builds compiled with gcc 3.2. This bug was present in
the 1.2 release and was the only bug fixed in the 1.2.1 release (and the reason
for the 1.2.1 release).
Marking this bug as fixed since it should be fixed in the 1.2.1 release.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 10•23 years ago
|
||
*** Bug 183801 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
*** Bug 183862 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•