Title: [191640] trunk/Source/WebInspectorUI
Revision
191640
Author
mattba...@apple.com
Date
2015-10-27 14:42:20 -0700 (Tue, 27 Oct 2015)

Log Message

REGRESSION: Web Inspector: DOM path bar blinks when modifying inline styles
https://bugs.webkit.org/show_bug.cgi?id=149258

Reviewed by Timothy Hatcher.

Now that Object now longer spams constructor event listeners, ContentBrowser can safely
update the NavigationBar synchronously. This fixes the issue, with zero impact on layout
responsiveness when selecting Rendering Frames tree elements.

* UserInterface/Views/ContentBrowser.js:
(WebInspector.ContentBrowser.prototype._contentViewSelectionPathComponentDidChange):
Force NavigationBar to update synchronously.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (191639 => 191640)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-10-27 21:38:46 UTC (rev 191639)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-10-27 21:42:20 UTC (rev 191640)
@@ -1,3 +1,18 @@
+2015-10-27  Matt Baker  <mattba...@apple.com>
+
+        REGRESSION: Web Inspector: DOM path bar blinks when modifying inline styles
+        https://bugs.webkit.org/show_bug.cgi?id=149258
+
+        Reviewed by Timothy Hatcher.
+
+        Now that Object now longer spams constructor event listeners, ContentBrowser can safely
+        update the NavigationBar synchronously. This fixes the issue, with zero impact on layout
+        responsiveness when selecting Rendering Frames tree elements.
+
+        * UserInterface/Views/ContentBrowser.js:
+        (WebInspector.ContentBrowser.prototype._contentViewSelectionPathComponentDidChange):
+        Force NavigationBar to update synchronously.
+
 2015-10-27  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Timeline current time marker does not start moving when starting recording after just opening inspector

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ContentBrowser.js (191639 => 191640)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ContentBrowser.js	2015-10-27 21:38:46 UTC (rev 191639)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ContentBrowser.js	2015-10-27 21:42:20 UTC (rev 191640)
@@ -447,7 +447,7 @@
 
         this._updateContentViewNavigationItems();
 
-        this._navigationBar.updateLayoutSoon();
+        this._navigationBar.updateLayout();
 
         this._dispatchCurrentRepresentedObjectsDidChangeEventSoon();
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to