Title: [247406] trunk/Source/WebInspectorUI
Revision
247406
Author
[email protected]
Date
2019-07-12 16:21:32 -0700 (Fri, 12 Jul 2019)

Log Message

Web Inspector: Changes: dismissing a blank property makes style rule to show in Changes panel
https://bugs.webkit.org/show_bug.cgi?id=199760

Reviewed by Devin Rousso.

* UserInterface/Models/CSSProperty.js:
(WI.CSSProperty.prototype._updateOwnerStyleText):
Call updatePropertiesModifiedState even when _updateOwnerStyleText returns early.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (247405 => 247406)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-07-12 23:09:52 UTC (rev 247405)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-07-12 23:21:32 UTC (rev 247406)
@@ -1,3 +1,14 @@
+2019-07-12  Nikita Vasilyev  <[email protected]>
+
+        Web Inspector: Changes: dismissing a blank property makes style rule to show in Changes panel
+        https://bugs.webkit.org/show_bug.cgi?id=199760
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Models/CSSProperty.js:
+        (WI.CSSProperty.prototype._updateOwnerStyleText):
+        Call updatePropertiesModifiedState even when _updateOwnerStyleText returns early.
+
 2019-07-12  Devin Rousso  <[email protected]>
 
         Web Inspector: Elements: always show all navigation bar items, but disable those that wouldn't work

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js (247405 => 247406)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js	2019-07-12 23:09:52 UTC (rev 247405)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSProperty.js	2019-07-12 23:21:32 UTC (rev 247406)
@@ -440,6 +440,7 @@
                 const lineDelta = 0;
                 const columnDelta = 0;
                 this._ownerStyle.shiftPropertiesAfter(this, lineDelta, columnDelta, forceRemove);
+                this._ownerStyle.updatePropertiesModifiedState();
             }
             return;
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to