Chromium Code Reviews| 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..1b7ac050fb20e7fab258f14d5aa63163cf732947 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,8 @@ 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')); |
| + // Placeholder will be shown via CSS ::before by UI.TextPrompt |
|
lushnikov
2016/12/12 23:15:35
nit: let's drop the comment - the code below is de
|
| + 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'); |