adding rules for show text in a disabled state in the button element

b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78643 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2000-09-09 22:21:15 +00:00
parent 8a82d7b1a3
commit 61a9addb52
2 changed files with 20 additions and 0 deletions

View File

@ -773,6 +773,11 @@ input[type="button"][disabled], input[type="button"][disabled]:active {
color: gray;
}
input[type="button"][disabled]:-moz-text {
color: gray;
font:button;
}
/* HTML 4 Button */
button {
font:button;
@ -825,6 +830,11 @@ button[disabled], button[disabled]:active {
color: gray;
}
button[disabled]:-moz-text {
color: gray;
font:button;
}
/* text input */
input[type="text"] {
-moz-box-sizing: border-box;

View File

@ -773,6 +773,11 @@ input[type="button"][disabled], input[type="button"][disabled]:active {
color: gray;
}
input[type="button"][disabled]:-moz-text {
color: gray;
font:button;
}
/* HTML 4 Button */
button {
font:button;
@ -825,6 +830,11 @@ button[disabled], button[disabled]:active {
color: gray;
}
button[disabled]:-moz-text {
color: gray;
font:button;
}
/* text input */
input[type="text"] {
-moz-box-sizing: border-box;