Closed Bug 565460 Opened 15 years ago Closed 15 years ago

Remove styling for treechildren[alternatingbackground="true"]

Categories

(Toolkit :: Themes, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: steffen.wilberg, Assigned: steffen.wilberg)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Attached patch patchSplinter 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)
Depends on: 282127
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?
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: nobody → steffen.wilberg
Status: NEW → ASSIGNED
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?
Attachment #444988 - Flags: review?(dao) → review+
(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
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
(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...
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.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: