From b1b2d0a154645ba21a85bbe7a695f846585ad424 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Thu, 3 Nov 2016 19:18:16 +0000 Subject: [PATCH] Bug 1311925 - Remove yellow highlight from search boxes. r=gl MozReview-Commit-ID: Bxu6uMKw7LM --HG-- extra : rebase_source : bebc42eeacb99d3beaeb8431576b7f0eda88de81 --- devtools/client/inspector/inspector-search.js | 2 -- devtools/client/themes/common.css | 1 - 2 files changed, 3 deletions(-) diff --git a/devtools/client/inspector/inspector-search.js b/devtools/client/inspector/inspector-search.js index a84ef957c636..50e0383bc5da 100644 --- a/devtools/client/inspector/inspector-search.js +++ b/devtools/client/inspector/inspector-search.js @@ -112,11 +112,9 @@ InspectorSearch.prototype = { _onInput: function () { if (this.searchBox.value.length === 0) { this.searchClearButton.hidden = true; - this.searchBox.removeAttribute("filled"); this._onSearch(); } else { this.searchClearButton.hidden = false; - this.searchBox.setAttribute("filled", true); } }, diff --git a/devtools/client/themes/common.css b/devtools/client/themes/common.css index af8cb79ec5a5..74243f105372 100644 --- a/devtools/client/themes/common.css +++ b/devtools/client/themes/common.css @@ -634,7 +634,6 @@ checkbox:-moz-focusring { width: 100%; } -.devtools-searchinput:-moz-any([filled],.filled), .devtools-filterinput:-moz-any([filled],.filled) { background-color: var(--searchbox-background-color); border-color: var(--searchbox-border-color);