Title: [228356] branches/safari-605-branch/Source/WebInspectorUI
Revision
228356
Author
jmarc...@apple.com
Date
2018-02-09 21:43:40 -0800 (Fri, 09 Feb 2018)

Log Message

Cherry-pick r228296. rdar://problem/37408890

Modified Paths

Diff

Modified: branches/safari-605-branch/Source/WebInspectorUI/ChangeLog (228355 => 228356)


--- branches/safari-605-branch/Source/WebInspectorUI/ChangeLog	2018-02-10 05:43:38 UTC (rev 228355)
+++ branches/safari-605-branch/Source/WebInspectorUI/ChangeLog	2018-02-10 05:43:40 UTC (rev 228356)
@@ -1,3 +1,23 @@
+2018-02-09  Jason Marcell  <jmarc...@apple.com>
+
+        Cherry-pick r228296. rdar://problem/37408890
+
+    2018-02-08  Nikita Vasilyev  <nvasil...@apple.com>
+
+            Web Inspector: Styles: Typing value and quickly moving focus away may display outdated value in UI
+            https://bugs.webkit.org/show_bug.cgi?id=182588
+            <rdar://problem/37332161>
+
+            Reviewed by Matt Baker.
+
+            CSSProperty models were updated with a 250ms delay. Quickly adding a blank property after modifying
+            an existing property could result in outdated values being shown.
+
+            This patch removes the 250ms delay.
+
+            * UserInterface/Views/SpreadsheetStyleProperty.js:
+            (WI.SpreadsheetStyleProperty.prototype.spreadsheetTextFieldDidChange):
+
 2018-02-04  Jason Marcell  <jmarc...@apple.com>
 
         Cherry-pick r228030. rdar://problem/37220121

Modified: branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js (228355 => 228356)


--- branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js	2018-02-10 05:43:38 UTC (rev 228355)
+++ branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js	2018-02-10 05:43:40 UTC (rev 228356)
@@ -236,9 +236,9 @@
     spreadsheetTextFieldDidChange(textField)
     {
         if (textField === this._valueTextField)
-            this.debounce(WI.SpreadsheetStyleProperty.CommitCoalesceDelay)._handleValueChange();
+            this._handleValueChange();
         else if (textField === this._nameTextField)
-            this.debounce(WI.SpreadsheetStyleProperty.CommitCoalesceDelay)._handleNameChange();
+            this._handleNameChange();
     }
 
     spreadsheetTextFieldDidCommit(textField, {direction})
@@ -655,5 +655,3 @@
 };
 
 WI.SpreadsheetStyleProperty.StyleClassName = "property";
-
-WI.SpreadsheetStyleProperty.CommitCoalesceDelay = 250;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to