[Webkit-unassigned] [Bug 27596] New: Inspector: Console Object Property Subtitle's Display Poorly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 22 22:28:45 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=27596
Summary: Inspector: Console Object Property Subtitle's Display
Poorly
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joepeck02 at gmail.com
There are a couple panes that extend WebInspector.PropertiesSection and thus
may set a "title" and a "subtitle". They include:
1. WebInspector.ObjectPropertiesSection when displaying an object in the
Console.
2. WebInspector.StylePropertiesSection when displaying CSS styles in the
Sidebar of the Elements Panel. The subtitle here may be the name/link to the
stylesheet.
The styles for the CSS Sidebar apply fine. The styles for the Console, when
displaying something with a subtitle, display very poorly:
- White text on a white background is invisible.
- The text is scrunched and unreadable.
- Produces multiple lines in the normal view for seemingly no reason.
- Expanded properties looks weird because of the float: right applied to the
subtitle.
The only way I have found to produce a "subtitle" in the Console is to inspect
the prototype of some node. The simplest test case being "Node.prototype".
The result from Object.describe is then "NodePrototype". Special code in
ObjectPropertiesSection.js turns this into title "Node" and subtitle
"Prototype". However, this displays poorly.
To test this you may try the following in the Inspector:
> Node.prototype
You may also want to try something like this:
> [Node.prototype, Document, Node.prototype, Node]
- I mention "Document" because the result is then "DocumentConstructor" which
is along the same lines as "NodePrototype" but exhibits no special behavior.
- The inspector does special formatting in this case so you can experiment with
expanding the Properties and view the affect of a "subtitle" then.
My suggestion would be to:
- Remove the special case and have no subtitles.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list