Title: [94181] trunk/Source/WebCore
Revision
94181
Author
[email protected]
Date
2011-08-31 05:53:12 -0700 (Wed, 31 Aug 2011)

Log Message

Web Inspector: Having the "Metrics" pane open affects the node highlight display
https://bugs.webkit.org/show_bug.cgi?id=67278

Reviewed by Yury Semikhatsky.

* inspector/front-end/MetricsSidebarPane.js:
(WebInspector.MetricsSidebarPane.prototype._updateMetrics):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (94180 => 94181)


--- trunk/Source/WebCore/ChangeLog	2011-08-31 12:50:36 UTC (rev 94180)
+++ trunk/Source/WebCore/ChangeLog	2011-08-31 12:53:12 UTC (rev 94181)
@@ -1,3 +1,13 @@
+2011-08-31  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: Having the "Metrics" pane open affects the node highlight display
+        https://bugs.webkit.org/show_bug.cgi?id=67278
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/MetricsSidebarPane.js:
+        (WebInspector.MetricsSidebarPane.prototype._updateMetrics):
+
 2011-08-31  Ilya Tikhonovsky  <[email protected]>
 
         Web Inspector: console view does a style recalculation per each addMessage call.

Modified: trunk/Source/WebCore/inspector/front-end/MetricsSidebarPane.js (94180 => 94181)


--- trunk/Source/WebCore/inspector/front-end/MetricsSidebarPane.js	2011-08-31 12:50:36 UTC (rev 94180)
+++ trunk/Source/WebCore/inspector/front-end/MetricsSidebarPane.js	2011-08-31 12:53:12 UTC (rev 94181)
@@ -262,7 +262,7 @@
 
             var boxElement = document.createElement("div");
             boxElement.className = name;
-            boxElement.addEventListener("mouseover", this._highlightDOMNode.bind(this, true, name), false);
+            boxElement.addEventListener("mouseover", this._highlightDOMNode.bind(this, true, name === "position" ? "all" : name), false);
             boxElement.addEventListener("mouseout", this._highlightDOMNode.bind(this, false, ""), false);
 
             if (name === "content") {
@@ -305,8 +305,6 @@
         metricsElement.addEventListener("mouseout", this._highlightDOMNode.bind(this, false, ""), false);
         this.bodyElement.removeChildren();
         this.bodyElement.appendChild(metricsElement);
-
-        WebInspector.highlightDOMNode(0);
     },
 
     startEditing: function(targetElement, box, styleProperty, computedStyle)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to