зеркало из https://github.com/mozilla/gecko-dev.git
fix Bug 72626 [XUL] disable for radio doesn't fully disable the button
patch by bzbarsky@mit.edu r=doron sr=hewitt
This commit is contained in:
Родитель
8061036c56
Коммит
ba8fea6467
|
@ -86,11 +86,11 @@ radio:hover:active > .internal-box > .checkmark-box > .checkbox-check {
|
|||
list-style-image: url("chrome://global/skin/radio/radio-act.gif");
|
||||
}
|
||||
|
||||
radio[disabled="true"] > .internal-box > checkmark-box > .checkbox-check,
|
||||
radio[disabled="true"] > .internal-box > .checkmark-box > .checkbox-check,
|
||||
radio[disabled="true"]:hover:active > .internal-box > .checkmark-box
|
||||
> .checkbox-check
|
||||
{
|
||||
list-style-image: url("chrome://global/skin/radio/radio-disabled.gif");
|
||||
list-style-image: url("chrome://global/skin/radio/radio-dis.gif");
|
||||
}
|
||||
|
||||
/* ..... checked state ..... */
|
||||
|
@ -106,6 +106,8 @@ radio[checked="true"]:hover:active > .internal-box > .checkmark-box
|
|||
}
|
||||
|
||||
radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box
|
||||
> .checkbox-check,
|
||||
radio[checked="true"][disabled="true"]:hover:active > .internal-box > .checkmark-box
|
||||
> .checkbox-check
|
||||
{
|
||||
list-style-image: url("chrome://global/skin/radio/radio-dis-check.gif");
|
||||
|
|
Загрузка…
Ссылка в новой задаче