From e5167cdc5da4fb08a88301b46bc34db1d8bb5e07 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Wed, 4 Sep 2002 00:39:19 +0000 Subject: [PATCH] Fix regression in graying of disabled radio buttons and checkboxes. b=164484 r=bbaetz sr=bzbarsky git-svn-id: svn://10.0.0.236/trunk@128782 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/document/src/forms.css | 3 +++ mozilla/layout/style/forms.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mozilla/layout/html/document/src/forms.css b/mozilla/layout/html/document/src/forms.css index ae757340f74..4ca4a19101b 100644 --- a/mozilla/layout/html/document/src/forms.css +++ b/mozilla/layout/html/document/src/forms.css @@ -329,6 +329,9 @@ input[type="checkbox"][disabled]:hover, input[type="checkbox"][disabled]:hover:active { padding: 1px; border: 1px inset ThreeDShadow ! important; + /* same as above, but !important */ + color: GrayText ! important; + background-color: ThreeDFace ! important; } input[type="checkbox"]:focus, diff --git a/mozilla/layout/style/forms.css b/mozilla/layout/style/forms.css index ae757340f74..4ca4a19101b 100644 --- a/mozilla/layout/style/forms.css +++ b/mozilla/layout/style/forms.css @@ -329,6 +329,9 @@ input[type="checkbox"][disabled]:hover, input[type="checkbox"][disabled]:hover:active { padding: 1px; border: 1px inset ThreeDShadow ! important; + /* same as above, but !important */ + color: GrayText ! important; + background-color: ThreeDFace ! important; } input[type="checkbox"]:focus,