Bug 23446 - UI changes for style inspection
Summary: UI changes for style inspection
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-20 20:53 PST by Tony Coconate
Modified: 2009-04-06 10:06 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Coconate 2009-01-20 20:53:36 PST
while in "edit" mode, the web inspector should have checkboxes to remove styling on the left side of the panel. it makes more sense to have them there to easily line-up which style you wish to remove quickly.

also, a double-click inside whitespace around the block of styles should generate a newline with space for a new style to be applied. this will allow a shortcut (like firebug) to quickly add in new styles.

while mousing-over the html structure within the elements tab, borders on elements should not be generated, they may be confusing or clash with a style existing within the inspected document.

also, within the element inspection, inside the styles toolbox, when a new style is created, it would be nice to have an autocomplete function. so, if I start with "bac" the inspector will start to make assumptions based on available attributes within the current doctype's accepted element's attributes.
Comment 1 Patrick Mueller 2009-03-20 08:28:31 PDT
This is really four separate requests, and should probably be entered as separate bugs so they can be tracked that way.  Though I'm not familiar with how the WebKit devs like to organize their bugs - but that's the way I prefer to handle these.

These all seem valid, through point 3 is worth quibbling about - it's not clear whether the current level of highlighting is good enough, or whether various bounding rectangles should be shown; personally, the display of the page is guaranteed to be heavily augmented to show the highlighting, it doesn't feel like the border really gets in the way, and in fact I'd like to see maybe margin/border/padding rectangles all be drawn, perhaps optionally via a preference.  Would also presumably have different background color shading.

Comment 2 Timothy Hatcher 2009-04-06 10:06:53 PDT
We do show margin/border/padding rectangles with separate shades of blue.

Please file these as separate bugs. We already have a bug about item 2 (bug 18224).