Closed
Bug 565460
Opened 15 years ago
Closed 15 years ago
Remove styling for treechildren[alternatingbackground="true"]
Categories
(Toolkit :: Themes, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: steffen.wilberg, Assigned: steffen.wilberg)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
1.21 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
In bug 282127, I made odd tree rows in trees with multiple columns highlighted in Gnomestripe and Pinstripe.
So there's no need for treechildren[alternatingbackground="true"] anymore, which should be removed therefore.
I removed that attribute from config.xul, so the last consumer is DOM Inspector:
http://mxr.mozilla.org/comm-central/search?string=alternatingbackground&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central
Attachment #444988 -
Flags: review?(dao)
Comment 1•15 years ago
|
||
Comment on attachment 444988 [details] [diff] [review]
patch
>-treechildren[alternatingbackground="true"]::-moz-tree-cell-text(odd, selected) {
>- color: -moz-DialogText;
>-}
Is there an equivalent to this in the multicol styling? If not, why not?
Assignee | ||
Comment 2•15 years ago
|
||
No, there's just the general rule:
111 treechildren::-moz-tree-cell-text(selected) {
112 color: -moz-DialogText;
113 }
http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/pinstripe/global/tree.css#111
I guess the multicol rules don't modify this since they only use ::-moz-tree-row, whereas the alternatingbackground rules also have ::-moz-tree-cell-text(odd, selected, focus). I don't have a Mac to test though.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → steffen.wilberg
Status: NEW → ASSIGNED
Comment 3•15 years ago
|
||
https://developer.mozilla.org/en/XUL/Attribute/alternatingbackground
I'm not sure why this should be removed. Is the support for the attribute removed? If not, why do we remove the styling?
Updated•15 years ago
|
Attachment #444988 -
Flags: review?(dao) → review+
Comment 4•15 years ago
|
||
(In reply to comment #3)
> https://developer.mozilla.org/en/XUL/Attribute/alternatingbackground
>
> I'm not sure why this should be removed. Is the support for the attribute
> removed? If not, why do we remove the styling?
The styling and support for the attribute are the same thing.
Keywords: dev-doc-needed
Assignee | ||
Comment 5•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Comment 6•15 years ago
|
||
(In reply to comment #0)
> I removed that attribute from config.xul, so the last consumer is DOM
> Inspector:
> http://mxr.mozilla.org/comm-central/search?string=alternatingbackground&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central
Well, you somehow managed to overlook the references in /suite/themes/modern/global/tree.css which were expecting to be able to theme about:config and DOM Inspector...
Assignee | ||
Comment 7•15 years ago
|
||
These rules still apply to DOM Inspector. You can add similar rules to Modern's config.css to style about:config. Or port bug 282127, this bug and bug 566178 to tree.css to style all multi-column trees.
Comment 8•15 years ago
|
||
Updated documentation:
https://developer.mozilla.org/en/XUL/Attribute/alternatingbackground
And mentioned here:
https://developer.mozilla.org/en/Firefox_4_for_developers#Miscellaneous_XUL_changes
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•