Title: [188676] trunk/Source/WebInspectorUI
Revision
188676
Author
drou...@apple.com
Date
2015-08-19 19:15:39 -0700 (Wed, 19 Aug 2015)

Log Message

Web Inspector: Committing a valid selector in the styles sidebar replaces the new selector with the old one
https://bugs.webkit.org/show_bug.cgi?id=148206

Reviewed by Timothy Hatcher.

* UserInterface/Views/CSSStyleDeclarationSection.js:
(WebInspector.CSSStyleDeclarationSection.prototype._markSelector):
No longer unnecessarily refreshes the section if the selector is valid.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (188675 => 188676)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-08-20 01:18:45 UTC (rev 188675)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-08-20 02:15:39 UTC (rev 188676)
@@ -1,3 +1,14 @@
+2015-08-19  Devin Rousso  <drou...@apple.com>
+
+        Web Inspector: Committing a valid selector in the styles sidebar replaces the new selector with the old one
+        https://bugs.webkit.org/show_bug.cgi?id=148206
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/CSSStyleDeclarationSection.js:
+        (WebInspector.CSSStyleDeclarationSection.prototype._markSelector):
+        No longer unnecessarily refreshes the section if the selector is valid.
+
 2015-08-19  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Uncaught Exceptions regarding PseudoElements / TemplateContent

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.js (188675 => 188676)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.js	2015-08-20 01:18:45 UTC (rev 188675)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationSection.js	2015-08-20 02:15:39 UTC (rev 188676)
@@ -538,7 +538,6 @@
         if (valid) {
             this._iconElement.title = this._ruleDisabled ? WebInspector.UIString("Uncomment All Properties") : WebInspector.UIString("Comment All Properties");
             this._selectorElement.title = null;
-            this.refresh();
             return;
         }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to