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)

Other Branch
x86
Windows NT
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: herve_foucher, Unassigned)

References

Details

Attachments

(1 file)

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>
Attached file testcase
testcase worksforme, linux trunk build 2002-11-25-12
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
occurs only on 1.2, not on trunk.
Testcase works with Windows 2000 build 2002-11-20-08
This is 1.2-branch only. See bug 182500.
Status: UNCONFIRMED → NEW
Depends on: 182500
Ever confirmed: true
Version: Trunk → Other Branch
*** Bug 182580 has been marked as a duplicate of this bug. ***
*** 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
*** Bug 183801 has been marked as a duplicate of this bug. ***
*** 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.

Attachment

General

Created:
Updated:
Size: