Closed
Bug 278819
Opened 20 years ago
Closed 20 years ago
some styles is redundant in checkbox.css
Categories
(Core :: XUL, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: surkov, Assigned: jag+mozilla)
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111
There are redundant styles in checkbox.css. If there is style -moz-appearence on
element then background and border styles are unused. In instance thease styles
(checkbox.css) are unused:
/* ..... checked state ..... */
checkbox[checked="true"] > .checkbox-check {
background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
}
checkbox[checked="true"][disabled="true"] > .checkbox-check {
background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif")
!important
}
style for class checkbox-check can be replaced with
.checkbox-check {
-moz-appearance: checkbox;
}
I think there are redundant styles not only for checkbox. It is need to check
styles for other elements like textbox or toolbarbutton.
Reproducible: Always
Steps to Reproduce:| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
compare this checkbox.css with global/skin/checkbox.css
| Reporter | ||
Comment 3•20 years ago
|
||
not everyone implements -moz-appearance.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 5•20 years ago
|
||
What do you mean by everyone? os or something else?
Comment 6•20 years ago
|
||
Native themes are only supported on the three major OSes.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•