Bug 67278 - Web Inspector: Having the "Metrics" pane open affects the node highlight display
Summary: Web Inspector: Having the "Metrics" pane open affects the node highlight display
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
: 66928 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-31 04:36 PDT by Alexander Pavlov (apavlov)
Modified: 2011-08-31 07:35 PDT (History)
10 users (show)

See Also:


Attachments
[PATCH] Suggested fix (2.10 KB, patch)
2011-08-31 05:09 PDT, Alexander Pavlov (apavlov)
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pavlov (apavlov) 2011-08-31 04:36:14 PDT
1. Open Web Inspector, open the Elements pane.
2. Start iterating over nodes using keyboard (Up and Down arrows). Notice how the current node is highlighted.
3. Now expand the Metrics pane and try to do the same.

The blue rectangle only blinks for a moment. It is expected that it should work the same regardless of the "Metrics" pane state.
Comment 1 Alexander Pavlov (apavlov) 2011-08-31 04:45:31 PDT
Upstreaming http://crbug.com/93751
Comment 2 Alexander Pavlov (apavlov) 2011-08-31 05:09:17 PDT
Created attachment 105769 [details]
[PATCH] Suggested fix
Comment 3 Yury Semikhatsky 2011-08-31 05:21:22 PDT
Comment on attachment 105769 [details]
[PATCH] Suggested fix

View in context: https://bugs.webkit.org/attachment.cgi?id=105769&action=review

> Source/WebCore/inspector/front-end/MetricsSidebarPane.js:265
> +            boxElement.addEventListener("mouseover", this._highlightDOMNode.bind(this, true, name === "position" ? "" : name), false);

Could you pass "all" instead of "" for clarity?
Comment 4 Alexander Pavlov (apavlov) 2011-08-31 05:24:10 PDT
(In reply to comment #3)
> (From update of attachment 105769 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=105769&action=review
> 
> > Source/WebCore/inspector/front-end/MetricsSidebarPane.js:265
> > +            boxElement.addEventListener("mouseover", this._highlightDOMNode.bind(this, true, name === "position" ? "" : name), false);
> 
> Could you pass "all" instead of "" for clarity?

Will fix.
Comment 5 Alexander Pavlov (apavlov) 2011-08-31 05:52:27 PDT
Committed r94181: <http://trac.webkit.org/changeset/94181>
Comment 6 Alexander Pavlov (apavlov) 2011-08-31 07:35:22 PDT
*** Bug 66928 has been marked as a duplicate of this bug. ***