Bug 17322
Summary: | Previous node remains highlighted when selecting a non-displaying node | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Lilek <dev+webkit> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | apavlov, aroben, timothy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Matt Lilek
The inspector's node highlight code should be smarter when highlighting nodes that have 0 height/width or do not display at all. The current behavior leaves the hole from the previously highlighted node as if that's the highlight for the currently selected node. This can easily lead to confusion unless you're paying attention to the styles pane.
A good example of this is on http://webkit.org/ - after you show the inspector and highlight a node (I used the logo) select one of the google tracking <script> tags.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
Seems like we should just clear the highlight when you select a node that isn't displayed.
Alexander Pavlov (apavlov)
No visual artifacts on ToT noticed, element highlight is removed on mouseout from the respective tree element in Web Inspector's Elements panel.