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 30c757486cb9a2b913ef40a8078cfb7bc8e54c4a..d45caa37a16f78538b7f15c1d8b9ebeb1d96faa7 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/elements/StylesSidebarPane.js |
@@ -2729,7 +2729,8 @@ WebInspector.StylesSidebarPane.CSSPropertyPrompt.prototype = { |
} |
break; |
case "Enter": |
- if (this.autoCompleteElement && !this.autoCompleteElement.textContent.length) { |
+ // Accept any available autocompletions and advance to the next field. |
+ if (this.autoCompleteElement && this.autoCompleteElement.textContent.length) { |
this.tabKeyPressed(); |
return; |
} |