Closed Bug 74865 Opened 23 years ago Closed 23 years ago

[DUP?]radio buttons and checkboxes not properly aligned with text

Categories

(Core :: Layout: Form Controls, defect, P2)

x86
All
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: bulbul, Assigned: rods)

References

Details

Attachments

(2 files)

Text appears too low next to a radio button or checkbox. View the attached test
case and compare the alignment between Mozilla and Netscape 4.
Attached file test case html page
I see this with 2001-04-09-04, Win NT, and found no other bug for it.
Confirming. OS -> all.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
This may be a dup, I have seen something to do with this
Status: NEW → ASSIGNED
Priority: -- → P2
Summary: radio buttons and checkboxes not properly aligned with text → [DUP?]radio buttons and checkboxes not properly aligned with text
Target Milestone: --- → mozilla0.9.1
Target Milestone: mozilla0.9.1 → mozilla0.9.3
I had this same bug and Hyatt told me he was planning on fixing it for 0.9.2 (ot
thereabouts). I couldn't find it just now though... I'll ping him again, it is ugly.
Well, Rod is gone, doesn't look like we're getting a fix for this by tomorrow
night. Pushing out...

marc, did you ever ping hyatt about this?
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Yes, Hyatt could not remember it, and I could not find the other bug. I dug into
it a bit and remembered the fix: in forms.css the vertical-align property for
radio buttons and checkboxes is 'baseline'. If I change it to 'bottom' it lines
up correctly. I'm attaching a testcase that changes the property to show how it
corrects the problem, but the change needs to be made to forms.css
dbaron will probably have things to say about that idea... :-)
vertical-align: bottom is wrong.  See bug 87981.  You *may* want text-bottom
(although probably not), but not bottom.  What we *really* want is to do
baseline alignment correctly.
Oh yea, bug 87981 - now I remember :) 

Of course, you are right dbaron. vertical-align: bottom is worse than
vertical-align: text-bottom (and either is better than the mess we make of
vertical-align: baseline on the branch).

Marking this bug depends-on bug 87981 since fixing that problem makes the radios
and checkboxes align better.)

Depends on: 87981
this is now fixed by checkin to Bug 91602
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
The radio buttons align correctly, now.
Verified fixed on window2000 - buildID: 2001-08-22-06trunk
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: