Changeset 223867 in webkit


Ignore:
Timestamp:
Oct 23, 2017 5:35:42 PM (6 years ago)
Author:
Nikita Vasilyev
Message:

Web Inspector: Styles Redesign: Inline widgets don't hide when starting editing by tabbing from property name
https://bugs.webkit.org/show_bug.cgi?id=178638

Reviewed by Joseph Pecoraro.

  • UserInterface/Views/SpreadsheetStyleProperty.js:

(WI.SpreadsheetStyleProperty.prototype.spreadsheetTextFieldDidBlur):
Blur event on the property name text field caused WI.SpreadsheetStyleProperty.prototype._renderValue,
which displayed inline swatches. Display inline swatches only after blur event on the property value.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r223856 r223867  
     12017-10-23  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: Styles Redesign: Inline widgets don't hide when starting editing by tabbing from property name
     4        https://bugs.webkit.org/show_bug.cgi?id=178638
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * UserInterface/Views/SpreadsheetStyleProperty.js:
     9        (WI.SpreadsheetStyleProperty.prototype.spreadsheetTextFieldDidBlur):
     10        Blur event on the property name text field caused WI.SpreadsheetStyleProperty.prototype._renderValue,
     11        which displayed inline swatches. Display inline swatches only after blur event on the property value.
     12
    1132017-10-23  Joseph Pecoraro  <pecoraro@apple.com>
    214
  • trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js

    r223575 r223867  
    236236        if (textField.value.trim() === "")
    237237            this._remove();
    238         else
     238        else if (textField === this._valueTextField)
    239239            this._renderValue(this._valueElement.textContent);
    240240    }
Note: See TracChangeset for help on using the changeset viewer.