Closed Bug 696015 Opened 14 years ago Closed 13 years ago

[markup panel] Make the HTML Tree Panel pretty

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: paul, Unassigned)

References

Details

Attachments

(2 files)

Attached image Current HTML Tree look
The current HTML Tree Panel has a pretty basic style, and doesn't match the dark theme we use for the devtools.
Several contributors proposed different designs: - http://jsfiddle.net/pivanov/caWaQ/4/ - http://jsfiddle.net/sjuyB/20/ - http://jsfiddle.net/APAZE/1/ (dark design)
Blocks: 663830
Priority: -- → P2
Whiteboard: [good first bug][mentor=paul][lang=css]
Blocks: 714238
I think view-source and the HTML Tree panel should share the same code (therefore, the same colors). http://mxr.mozilla.org/mozilla-central/source/layout/style/viewsource.css
Depends on: 715472
Blocks: 708257
Component: Developer Tools → Developer Tools: Inspector
QA Contact: developer.tools → developer.tools.inspector
I'm interested in working on this, but I'm completely new to Mozilla development, if someone could point me in the right direction, that would be much appreciated.
(In reply to Sage Druch from comment #3) > I'm interested in working on this, but I'm completely new to Mozilla > development, if someone could point me in the right direction, that would be > much appreciated. styling for the HTML panel lives in: http://mxr.mozilla.org/mozilla-central/find?string=/htmlpanel.css&hint=browser/devtools/browser/devtools/highlighter/inspector.html You may also be interested in: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/highlighter/inspector.html?force=1 http://mxr.mozilla.org/mozilla-central/source/browser/devtools/highlighter/TreePanel.jsm and the top-level: http://mxr.mozilla.org/mozilla-central/source/browser/devtools/highlighter/inspector.jsm you'll also see an adjacent file called domplate.jsm which is the templating engine and descriptors for the tree panel. hop into irc://irc.mozilla.org/#devtools if you want to ask questions with slightly more immediate feedback. We should also get some colors from shorlander from UX.
Ok thank you, but I have just one question about the format for the colouring, that being whether it would be better to have the colours in hex, rgb, or colour names.
This is somewhat what the final product may look like, as you can see, the text that would normally be black on the view source window is still black, (mainly because I was not able to find the class that specifies attributes for that, so I'll keep working on that) making it hard to read. And as you will likely also notice , this is only the view source window, (I haven't quite gotten as far as this on the html tree), anyways, feedback or help is always welcome. P.S. Shouldn't this be changed to a all-platforms bug, considering the fact that the html tree looks identical on all platforms, or maybe I'm missing something.
yes you're right about the platforms. I think we need to get some actual color specs for the tree, probably from shorlander who's assigned on bug 715472. We should probably match those colors here. Stephen, if you have any colors for these panels, let us know. thanks!
OS: Mac OS X → All
Hardware: x86 → All
No longer blocks: 663830, 708257, 714238
No longer depends on: 715472
Whiteboard: [good first bug][mentor=paul][lang=css]
Blocks: 663830, 708257, 714238
Depends on: 715472
Colors for the Markup Panel (aka HTML Tree): https://bug715472.bugzilla.mozilla.org/attachment.cgi?id=622375
Summary: [highlighter] Make the HTML Tree Panel pretty → [markup panel] Make the HTML Tree Panel pretty
There are a lot of style-bugs for the inspector (and highlighter, and rule view, and property view). These bugs are old, and we changed a lot of things lately (toolbox). I WONTFIX this bug. (that doesn't mean we don't want to improve the devtools theme)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: