From 25ef476c7f5054b50c2eb97829e2289726a1e537 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 --- layout/html/document/src/forms.css | 3 +++ layout/style/forms.css | 3 +++ 2 files changed, 6 insertions(+) diff --git a/layout/html/document/src/forms.css b/layout/html/document/src/forms.css index ae757340f74e..4ca4a19101bf 100644 --- a/layout/html/document/src/forms.css +++ b/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/layout/style/forms.css b/layout/style/forms.css index ae757340f74e..4ca4a19101bf 100644 --- a/layout/style/forms.css +++ b/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,