Closed Bug 274125 Opened 20 years ago Closed 6 years ago

DOM node tree uses black text color even though my gtk theme has black background

Categories

(Other Applications :: DOM Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dennisn, Unassigned)

References

Details

(Keywords: helpwanted, Whiteboard: DUPEME [good first bug])

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

the node treelist seems to be forcing the "default" text color black (#document
is purple, #text is dark blue (i would prefer a lighter shade)), but my gtk
theme uses black bg (and grey fg).

is there a way to have the treelist obey gtk themes (at least the default color)?

Reproducible: Always
Steps to Reproduce:
Possibly a dup of the bug for menu text coloration in gtk not being right?  I
don't think that's been fixed yet.
Whiteboard: DUPEME
All the text colours for the DOM tree are forced in dom.css
however the background colour is left as the system colour.
yeah, in inspector.jar -> skin/classic/inspector/viewers/dom/dom.css (for
classic theme),

treechildren::-moz-tree-cell-text(ELEMENT_NODE)
  should not be specified (system default)

and, perhaps a lighter blue ..
treechildren::-moz-tree-cell-text(CDATA_SECTION_NODE),
treechildren::-moz-tree-cell-text(TEXT_NODE) { color: #6666FF; }

and perhaps a lighter purple,
treechildren::-moz-tree-cell-text(DOCUMENT_NODE) { color: #A000A0; }

and a lighter yellow,
treechildren::-moz-tree-cell-text(DOCUMENT_TYPE_NODE) { color: #A0A000; }

and a lighter red,
treechildren::-moz-tree-cell-text(anonymous) { color: #FF6666; }

:)

Or, perhaps there is a way to use the colors specified in firefox's prefs?
Actually, what needs to happen is that all colors need to be specified, period.
 Given that we have colored things (comments, cdata sections, #document nodes,
doctypes), we shouldn't be leaving the background to be the system default
color, since it can match one of the colors we have for the other objects.

View-source has the same problem, and the only real way to solve it is to
specify all the colors...
Whiteboard: DUPEME → DUPEME [good first bug]
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
So, can someone update dom.css? =)
Keywords: helpwanted
the alternating background in the rightside pane compounds the problem since it alternates between background(black) and lightgray.  are there style entries for this part of the DOM inspector?
Yes, there are style rules that set those backgrounds.
ok, what i meant to say was "where/what are the styles for the windows that use alternating backgrounds?" so i can fix it.
The current rules are probably general tree rules;  I don't see them in http://lxr.mozilla.org/seamonkey/source/extensions/inspector/resources/skin/classic/viewers/dom/dom.css (which is where the foreground colors are).
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Bulk close. This component is no longer supported or maintained.

https://bugzilla.mozilla.org/show_bug.cgi?id=1499023
You need to log in before you can comment on or make changes to this bug.