Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js

Issue 2527503002: Revert of DevTools: all swatches should have a default focused element (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js b/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
index 1f118f7a1f12d6c3709cd1c9139964c3a76c94c5..f9c613156d353dd55138c9d76def800429e57e12 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/CSSShadowEditor.js
@@ -9,7 +9,6 @@
super(true);
this.registerRequiredCSS('ui/cssShadowEditor.css');
this.contentElement.tabIndex = 0;
- this.setDefaultFocusedElement(this.contentElement);
this._typeField = this.contentElement.createChild('div', 'shadow-editor-field');
this._typeField.createChild('label', 'shadow-editor-label').textContent = Common.UIString('Type');

Powered by Google App Engine
This is Rietveld 408576698