| Index: third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| index 8b8005667d70cd06366b0e1c6f842c5038706c68..ad0654bf99c111418db65e6315b19d9a923d7f7f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -2431,7 +2431,10 @@ WebInspector.StylePropertyTreeElement.prototype = {
|
| if (!isEditingName && this._parentPane._mouseDownTreeElementIsName)
|
| moveDirection = "backward";
|
| }
|
| - this.editingCommitted((context.isEditingName ? this.name : this.value) || event.target.textContent, context, moveDirection);
|
| + var text = event.target.textContent;
|
| + if (!context.isEditingName)
|
| + text = this.value || text;
|
| + this.editingCommitted(text, context, moveDirection);
|
| }
|
|
|
| this._originalPropertyText = this.property.propertyText;
|
|
|