Title: [243256] trunk/Source/WebInspectorUI
Revision
243256
Author
[email protected]
Date
2019-03-20 16:34:00 -0700 (Wed, 20 Mar 2019)

Log Message

Web Inspector: Styles: enabledProperties don't get invalidated after removing property
https://bugs.webkit.org/show_bug.cgi?id=196038

Reviewed by Timothy Hatcher.

* UserInterface/Models/CSSStyleDeclaration.js:
(WI.CSSStyleDeclaration.prototype.shiftPropertiesAfter):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (243255 => 243256)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-03-20 23:32:55 UTC (rev 243255)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-03-20 23:34:00 UTC (rev 243256)
@@ -1,3 +1,13 @@
+2019-03-20  Nikita Vasilyev  <[email protected]>
+
+        Web Inspector: Styles: enabledProperties don't get invalidated after removing property
+        https://bugs.webkit.org/show_bug.cgi?id=196038
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Models/CSSStyleDeclaration.js:
+        (WI.CSSStyleDeclaration.prototype.shiftPropertiesAfter):
+
 2019-03-20  Devin Rousso  <[email protected]>
 
         Web Inspector: DOM: include window as part of any event listener chain

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSStyleDeclaration.js (243255 => 243256)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSStyleDeclaration.js	2019-03-20 23:32:55 UTC (rev 243255)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSStyleDeclaration.js	2019-03-20 23:34:00 UTC (rev 243256)
@@ -413,6 +413,7 @@
             this._properties.splice(realIndex, 1);
 
         // Invalidate cached properties.
+        this._enabledProperties = null;
         this._visibleProperties = null;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to