Closed Bug 119929 Opened 23 years ago Closed 23 years ago

Centered submit or button inputs on a form jump to right when clicked on. javascript related?

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugs, Assigned: john)

References

()

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

I've seen this happen consistently on several sites, across builds.
Click on the dropdown next to the departure or arrival cities.  It will pop up a
javascript window.  In that window, scroll around a bit, choose a city, then hit
ok (scrolling around a bit necessary according to Hensema, I have it happen if I
just hit ok).

The entire centered screen becomes left aligned.  Nothing else happens.
Clicking on the ok button again causes it to work correctly.

Not certain if this is javascript related, Mozilla doing something odd when
cleaning up a page's HTML, or form button related - I've only seen it on sites
where the button was assigned an onClick action, however.
Confirming on Linux 2002011108.

This doesn't happen to me every time, but after trying a few times it does happen.
Reassigning.
Assignee: morse → rods
Component: Form Manager → HTML Form Controls
QA Contact: tpreston → madhur
Status: UNCONFIRMED → NEW
Ever confirmed: true
work in 6.2
Assignee: rods → jkeiser
Keywords: regression
Attached file Minimized testcase (obsolete) —
This happens everytime using WinXP on build 2002011103
Attached file Minimized Testcase
This is a real minimized testcase
Attachment #65626 - Attachment is obsolete: true
So click on "Minimized Testcase" and the symptoms emerge.  When you click on a
<CENTER>ed button, the button is left-justified and the onClick event does not
occur.  This happens iff a new window is opened without all the extra trappings.
 The funny thing is, if the button is more than half the size of the window, the
onClick event *does* fire, even though the button is still left-justified.

I am fairly certain this is happening in CENTER.
This got fixed somewhere.  Reopen if you're still seeing it, please.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
QA Contact: madhur → tpreston
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: