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

Unified Diff: third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js

Issue 2568013003: DevTools: Fix 'Add new class' placeholder text (Closed)
Patch Set: remove comment Created 4 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
diff --git a/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js b/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
index c996daeec680c7a66390659003f5ab7a3a453964..c1c442a36cf1fdc2ae929a80df1dd97a17244980 100644
--- a/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
+++ b/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js
@@ -10,7 +10,7 @@ Elements.ClassesPaneWidget = class extends UI.Widget {
this.element.className = 'styles-element-classes-pane';
var container = this.element.createChild('div', 'title-container');
this._input = container.createChild('div', 'new-class-input monospace');
- this._input.setAttribute('placeholder', Common.UIString('Add new class'));
+ this._input.setAttribute('data-placeholder', Common.UIString('Add new class'));
this.setDefaultFocusedElement(this._input);
this._classesContainer = this.element.createChild('div', 'source-code');
this._classesContainer.classList.add('styles-element-classes-container');
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/elements/elementsPanel.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698