Changeset 246712 in webkit


Ignore:
Timestamp:
Jun 22, 2019 11:05:29 AM (5 years ago)
Author:
Nikita Vasilyev
Message:

Web Inspector: Styles: unbalanced quotes and parenthesis aren't displayed as property closed after editing values
https://bugs.webkit.org/show_bug.cgi?id=199090
<rdar://problem/51965431>

Reviewed by Matt Baker.

  • UserInterface/Views/SpreadsheetStyleProperty.js:

(WI.SpreadsheetStyleProperty.prototype.spreadsheetTextFieldDidBlur):
Unbalanced quotes and parenthesis are fixed inside of CSSProperty's rawValue setter.
Render the value from the model, not the view.

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r246686 r246712  
     12019-06-22  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: Styles: unbalanced quotes and parenthesis aren't displayed as property closed after editing values
     4        https://bugs.webkit.org/show_bug.cgi?id=199090
     5        <rdar://problem/51965431>
     6
     7        Reviewed by Matt Baker.
     8
     9        * UserInterface/Views/SpreadsheetStyleProperty.js:
     10        (WI.SpreadsheetStyleProperty.prototype.spreadsheetTextFieldDidBlur):
     11        Unbalanced quotes and parenthesis are fixed inside of CSSProperty's rawValue setter.
     12        Render the value from the model, not the view.
     13
    1142019-06-21  Matt Baker  <mattbaker@apple.com>
    215
  • trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js

    r245991 r246712  
    403403
    404404        if (textField === this._valueTextField)
    405             this._renderValue(this._valueElement.textContent);
     405            this._renderValue(this._property.rawValue);
    406406
    407407        if (typeof this._delegate.spreadsheetStylePropertyFocusMoved === "function")
Note: See TracChangeset for help on using the changeset viewer.