Closed
Bug 131335
Opened 23 years ago
Closed 21 years ago
text-align center makes fieldset misaligned and form controls invisible
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: nik, Assigned: rods)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
570 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311
BuildID: 2002031104
See the source for the testcase - when inside a CSS centered fieldset (fieldset
is a child of a div with text-align : center), form controls are missing or
misaligned. The fieldset stays on the left while the form controls tend towards
the center. As soon as the form controls are completely clear of the fieldset,
they are no longer rendered, although it is still possible to enter text and the
text is drawn properly.
To see the effect, load the testcase url and resize mozilla horizontally.
Reproducible: Always
Steps to Reproduce:
1. Put form controls in a fieldset
2. Put the fieldset in a centered block level element
Actual Results: fieldset remains at left margin, form controls are centered,
but not drawn if they fall outside the misaligned fieldset.
Expected Results: Fieldset should contain the form controls, and be centered
within the viewport.
If you set the container element to be <div align="center"> rather than centered
by CSS methods, then the fieldset becomes centered but the form controls are
right-aligned - essentially, the same as the described bug but in reverse:
fieldset stays centered not the form controls, and the form controls stick to
the margin not the fieldset, and the right margin at that, not the left.
Comment 1•23 years ago
|
||
possible dupe of bug 119849?
Comment 2•23 years ago
|
||
No, possibly related but not the same bug. I am not seeing the controls at all
in this one. Weird.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Reporter | ||
Comment 3•23 years ago
|
||
In case I'm tempted to b0rk it again.
Reporter | ||
Comment 4•23 years ago
|
||
Also fails in Linux Gecko/20020314
Updated•23 years ago
|
QA Contact: madhur → tpreston
Comment 5•22 years ago
|
||
dupe of 127516?
Comment 6•22 years ago
|
||
The attached testcase seems to work for me (linux build 2002-10-25-08).... is
there still a problem?
Reporter | ||
Comment 7•22 years ago
|
||
rv:1.2.1 Gecko/20021130 Win2K now works for me. Perhaps this should be resolved.
Comment 8•21 years ago
|
||
Resolving worksforme, since it does.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•