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

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

Issue 2859623002: DevTools: Migrate from -webkit-user-modify to contenteditable (Closed)
Patch Set: Created 3 years, 8 months 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/FilterBar.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
index 666a36e1fa67919496f3aed16d3ba24142fd4533..5542379948e0b780baceee2f55850d3a1735aecc 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/FilterBar.js
@@ -183,6 +183,7 @@ UI.TextFilterUI = class extends Common.Object {
this._filterElement.className = 'filter-text-filter';
this._filterInputElement = this._filterElement.createChild('span', 'filter-input-field');
+ this._filterInputElement.setAttribute('contenteditable', 'plaintext-only');
this._prompt = new UI.TextPrompt();
this._prompt.initialize(this._completions.bind(this), ' ');

Powered by Google App Engine
This is Rietveld 408576698