Open
Bug 100973
Opened 24 years ago
Updated 3 years ago
Radio button not circular but oval if CSS width is used
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
REOPENED
Future
People
(Reporter: jmercay, Unassigned)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20010913
BuildID: 2001091303
If a CSS class with the "width" attribute set is used on a radio button,
it will be rendered too large, in a oval shape.
CSS Class:
.textfield175 {width: 175px; }
HTML:
<input type="radio" class="textfield175" name="test"/>
Complete example at:
http://www.scdi.org/~jmercay/mozilla-bug/radio.html
Reproducible: Always
Steps to Reproduce:
1. Go to http://www.scdi.org/~jmercay/mozilla-bug/radio.html
2. Look at the oval radio button.
Expected Results: Rendered a round, circular radio button
This is annoying when using the same CSS class for text field and radio button.
Can be easily worked around by using a special class for the radio button.
Comment 1•24 years ago
|
||
Well, I certainly see a very wide radiobutton with build 2001092103, Win98.
Confirming as NEW, but whether this is a bug or an odd side-effect I don't know.
I have a feeling component isn't Layout, though.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•24 years ago
|
||
->Form Controls
Assignee: attinasi → rods
Component: Layout → HTML Form Controls
QA Contact: petersen → madhur
Comment 3•24 years ago
|
||
You specified the width of an element, and that width is applied, so why is this
a bug?
| Reporter | ||
Comment 4•24 years ago
|
||
A wide radio button is not nice looking, and certainly not what most developpers
expect. Furthermore, all other browsers display a circular button, and so
Mozilla's behaviour breaks the layout for some sites.
Comment 5•24 years ago
|
||
well... the behavior of form controls when CSS is applied is undefined...
Arguably, we are giving the web developer more options (one can style the button
to be any size/shape.
Alternately, we could make the forms.css rules for input[type="radio"] width and
height !important... that should keep the page author from changing the size.
OS: Windows 2000 → All
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
the button is circular winxp 2004090507
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Comment 7•21 years ago
|
||
Reopening. You're seeing the native theming code kicking in, I bet. It's quite
oval on Linux (and presumably also on pre-theming Windows systems).
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•16 years ago
|
Assignee: rods → nobody
QA Contact: madhur → layout.form-controls
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•