| 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 425e21ae7bb31d9fae68529d479b3e98ed2f9f53..fa507a75a58bb9e8345e7def17227458da46c5c2 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js
|
| @@ -2392,7 +2392,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;
|
|
|