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

RESOLVED WORKSFORME

Status

()

Core
Layout: Form Controls
RESOLVED WORKSFORME
16 years ago
16 years ago

People

(Reporter: nemo, Assigned: John Keiser (jkeiser))

Tracking

({regression})

Trunk
x86
Linux
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

16 years ago
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.

Comment 1

16 years ago
Confirming on Linux 2002011108.

This doesn't happen to me every time, but after trying a few times it does happen.

Comment 2

16 years ago
Reassigning.
Assignee: morse → rods
Component: Form Manager → HTML Form Controls
QA Contact: tpreston → madhur
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 3

16 years ago
work in 6.2
Assignee: rods → jkeiser
Keywords: regression

Comment 4

16 years ago
Created attachment 65626 [details]
Minimized testcase

This happens everytime using WinXP on build 2002011103
(Assignee)

Comment 5

16 years ago
Created attachment 67446 [details]
Minimized Testcase Helper File
(Assignee)

Comment 6

16 years ago
Created attachment 67447 [details]
Minimized Testcase

This is a real minimized testcase
Attachment #65626 - Attachment is obsolete: true
(Assignee)

Comment 7

16 years ago
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.
(Assignee)

Comment 8

16 years ago
This got fixed somewhere.  Reopen if you're still seeing it, please.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME

Updated

16 years ago
QA Contact: madhur → tpreston
You need to log in before you can comment on or make changes to this bug.