Title: [246712] trunk/Source/WebInspectorUI
- Revision
- 246712
- Author
- [email protected]
- Date
- 2019-06-22 11:05:29 -0700 (Sat, 22 Jun 2019)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (246711 => 246712)
--- trunk/Source/WebInspectorUI/ChangeLog 2019-06-22 16:14:06 UTC (rev 246711)
+++ trunk/Source/WebInspectorUI/ChangeLog 2019-06-22 18:05:29 UTC (rev 246712)
@@ -1,3 +1,16 @@
+2019-06-22 Nikita Vasilyev <[email protected]>
+
+ 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.
+
2019-06-21 Matt Baker <[email protected]>
Web Inspector: remove unused DataGrid style .force-focus
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js (246711 => 246712)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js 2019-06-22 16:14:06 UTC (rev 246711)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SpreadsheetStyleProperty.js 2019-06-22 18:05:29 UTC (rev 246712)
@@ -402,7 +402,7 @@
}
if (textField === this._valueTextField)
- this._renderValue(this._valueElement.textContent);
+ this._renderValue(this._property.rawValue);
if (typeof this._delegate.spreadsheetStylePropertyFocusMoved === "function")
this._delegate.spreadsheetStylePropertyFocusMoved(this, {direction: null});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes