Changeset 228356 in webkit


Ignore:
Timestamp:
Feb 9, 2018 9:43:40 PM (6 years ago)
Author:
jmarcell@apple.com
Message:

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

Location:
branches/safari-605-branch/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-605-branch/Source/WebInspectorUI/ChangeLog

    r228072 r228356  
     12018-02-09  Jason Marcell  <jmarcell@apple.com>
     2
     3        Cherry-pick r228296. rdar://problem/37408890
     4
     5    2018-02-08  Nikita Vasilyev  <nvasilyev@apple.com>
     6
     7            Web Inspector: Styles: Typing value and quickly moving focus away may display outdated value in UI
     8            https://bugs.webkit.org/show_bug.cgi?id=182588
     9            <rdar://problem/37332161>
     10
     11            Reviewed by Matt Baker.
     12
     13            CSSProperty models were updated with a 250ms delay. Quickly adding a blank property after modifying
     14            an existing property could result in outdated values being shown.
     15
     16            This patch removes the 250ms delay.
     17
     18            * UserInterface/Views/SpreadsheetStyleProperty.js:
     19            (WI.SpreadsheetStyleProperty.prototype.spreadsheetTextFieldDidChange):
     20
    1212018-02-04  Jason Marcell  <jmarcell@apple.com>
    222
  • branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js

    r228072 r228356  
    237237    {
    238238        if (textField === this._valueTextField)
    239             this.debounce(WI.SpreadsheetStyleProperty.CommitCoalesceDelay)._handleValueChange();
     239            this._handleValueChange();
    240240        else if (textField === this._nameTextField)
    241             this.debounce(WI.SpreadsheetStyleProperty.CommitCoalesceDelay)._handleNameChange();
     241            this._handleNameChange();
    242242    }
    243243
     
    656656
    657657WI.SpreadsheetStyleProperty.StyleClassName = "property";
    658 
    659 WI.SpreadsheetStyleProperty.CommitCoalesceDelay = 250;
Note: See TracChangeset for help on using the changeset viewer.