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)