Closed Bug 260442 Opened 20 years ago Closed 11 years ago

Form elements jump when form buttons pressed

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ccurzio+mozilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10

The easiest way to see this behavior is on Slashdot. When you are replying to a
comment, and you click one of the buttons (submit or preview), all of the form
elements jump down a bit. If they land in such a way that the mouse pointer ends
up outside the element clicked, the form does not get submitted. 

This seems to be very similar to Bug 179896. 

Reproducible: Always
Steps to Reproduce:
1. Go to www.slashdot.org. Log in if desired. 
2. Click to read comments under any story. 
3. Click to reply to any comment.
4. Press the preview button. 

Actual Results:  
The form jumps down 10-15 pixels or so. 

Expected Results:  
The form elements should remain stationary.
This code reproduces the bug in the Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.7.6) Gecko/20050225 Firefox/1.0.1:

<html><body onload="document.getElementById('test').style.display = 'None';">
<table border="0">
<tr><td height="900"></td></tr>
<tr><td>
<div id="test"><br><br><br></div>
<form><input type="submit" value="Next ->"></form>
</td></tr>
</table>
</body></html>

The height=900 tag moves the button out of the screen. Scroll down, there's a
little space beneath the button. Click the button, and the button jumps to the
bottom of the page.
I've also seen a similar bug on the Google Firefox start page:

http://www.google.com/firefox

If you down-click the button, you'll see the text field lengthen to the right.
While still holding the button down, moving off the button will make it even
longer. 
This is fixed in Deer Park Alpha 2
Assignee: bross2 → nobody
We are running cardiff liquid eforms and the html form is fine in Explorer and earlier versions of Firefox, but in 3.5.2 the form jumps when someone tries to click in a radio button.  This moves the button to the top of the screen (except on the last page) but does not select the radio button, which then needs to be selected again.
I believe this has been fixed at some point. Please re-open if you can still reproduce the problem.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.