Title: [226994] trunk/Source/WebInspectorUI
Revision
226994
Author
nvasil...@apple.com
Date
2018-01-16 12:23:12 -0800 (Tue, 16 Jan 2018)

Log Message

Web Inspector: Styles Redesign: clicking on the white space after the property sometimes places a blank property at the wrong index
https://bugs.webkit.org/show_bug.cgi?id=179585
<rdar://problem/35490780>

Reviewed by Joseph Pecoraro.

* UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js:
(WI.SpreadsheetCSSStyleDeclarationEditor.prototype.spreadsheetStylePropertyRemoved):
Layout call is needed to update data-property-index attributes on the property views.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (226993 => 226994)


--- trunk/Source/WebInspectorUI/ChangeLog	2018-01-16 20:21:28 UTC (rev 226993)
+++ trunk/Source/WebInspectorUI/ChangeLog	2018-01-16 20:23:12 UTC (rev 226994)
@@ -1,3 +1,15 @@
+2018-01-16  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: Styles Redesign: clicking on the white space after the property sometimes places a blank property at the wrong index
+        https://bugs.webkit.org/show_bug.cgi?id=179585
+        <rdar://problem/35490780>
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js:
+        (WI.SpreadsheetCSSStyleDeclarationEditor.prototype.spreadsheetStylePropertyRemoved):
+        Layout call is needed to update data-property-index attributes on the property views.
+
 2018-01-16  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Network Tab - Export HAR Context Menu not working

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js (226993 => 226994)


--- trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js	2018-01-16 20:21:28 UTC (rev 226993)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.js	2018-01-16 20:23:12 UTC (rev 226994)
@@ -224,6 +224,7 @@
     spreadsheetStylePropertyRemoved(propertyView)
     {
         this._propertyViews.remove(propertyView);
+        this.updateLayout();
     }
 
     applyFilter(filterText)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to