Closed Bug 101320 Opened 23 years ago Closed 21 years ago

[FIX]CSS padding causes rendering problems for checkboxes and radios

Categories

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

x86
All
defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: mozilla, Assigned: john)

References

()

Details

(Keywords: testcase)

Attachments

(5 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.3) Gecko/20010801 BuildID: 2001080110 In the page http://www.jobserver.sk/mailingListHladaju.asp I can not check the CheckBox Reproducible: Always Steps to Reproduce: In the page http://www.jobserver.sk/mailingListHladaju.asp I can not check the CheckBox. Actual Results: Nothing. Checkbox is emply Expected Results: ? In the page http://www.jobserver.sk/mailingListHladaju.asp I can not check the CheckBox.
I see the same problem with w2k 2001092308. It works on IE 5.01 on same machine
Summary: Check Box doesnt work. → Check Box doesnt work.
Confirming on RH 7.1, CVS build from 09/24, changing OS to all. Actually, the radio button checkboxes do respond, but don't display the 'tick' symbol. Maybe this is related to bug 94114.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows NT → All
over to form controls
Assignee: pchen → rods
Component: XP Apps → HTML Form Controls
QA Contact: sairuh → madhur
In bug 94114 , in the code, an absolutely positioned hidden iframe is causing the click on the checkbox not to appear. Whereas, in the above mentioned url, i do not see any iframe in the source code. I am attaching a reduced testcase. See below.
Attached file reduced testcase (deleted) —
Keywords: testcase
Attached file isolated problem - testcase (deleted) —
Problem occurs when using padding in input field. See new testcase for illustration.
Attached patch patch (deleted) — Splinter Review
we need to set the padding thave !important for checkbox and radiobuttons (see patch)
Status: NEW → ASSIGNED
Summary: Check Box doesnt work. → [FIX]Check Box doesnt work.
Target Milestone: --- → mozilla0.9.8
Summary: [FIX]Check Box doesnt work. → [FIX]CSS padding causes rendering problems for checkboxes and radios
Too bas css does not allow a !important declaration at the file level... sr=attinasi on the 11/06 patch
Target Milestone: mozilla0.9.8 → mozilla1.2
Priority: -- → P2
Target Milestone: mozilla1.2 → Future
QA Contact: madhur → tpreston
Still exists in Mozilla Build ID 2002080208. Just struck this bug while building an intranet app. After reading the patch, adding : <style> input[type="checkbox"]{ padding: 0 ! important; } </style> to my document .css works fine.
-->
Assignee: rods → jkeiser
Status: ASSIGNED → NEW
And I'm still seeing it, on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030430 Debian/1.3-5. I don't see it in 1.3 under Windows. In my testcase, the shape of the checkbox is also affected. Does the "blocking1.4" flag mean this patch is likely to get into 1.4?
Attached file distortion testcase (deleted) —
Screenshot follows
Attached image screenshot of distortion (deleted) —
Screenshot of how att 126397 renders for me
In creating the attachments I found that it's not Linux-only; it does happen on Windows, but not as noticeably when left or right padding is specified. See the screenshots. Sorry for all the spam; I'm still getting the hang of this Bugzilla thing.
Argh. This patch was never checked in. I just checked it in, only two years too late... ;)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 234187 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: