RESOLVED WORKSFORME 17322
Previous node remains highlighted when selecting a non-displaying node
https://bugs.webkit.org/show_bug.cgi?id=17322
Summary Previous node remains highlighted when selecting a non-displaying node
Matt Lilek
Reported 2008-02-11 23:39:38 PST
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
Adam Roben (:aroben)
Comment 1 2008-02-12 07:48:36 PST
Seems like we should just clear the highlight when you select a node that isn't displayed.
Alexander Pavlov (apavlov)
Comment 2 2010-03-18 07:28:40 PDT
No visual artifacts on ToT noticed, element highlight is removed on mouseout from the respective tree element in Web Inspector's Elements panel.
Note You need to log in before you can comment on or make changes to this bug.