Bug 1552768 - Remove hover style rules on Windows for the search input field r=nhnt11
authorAndrei Oprea <andrei.br92@gmail.com>
Mon, 20 May 2019 16:32:49 +0000
changeset 537400 67e2703726dad4f41430ba2962695d8fb9cdb31d
parent 537399 5f2932daeff2c6370358feceb7d55f60952a47a1
child 537401 2adbd9cb0977c797d152abbc7b6411ce1e507e1e
push id2131
push userffxbld-merge
push dateMon, 26 Aug 2019 18:30:20 +0000
treeherdermozilla-release@b19ffb3ca153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11
bugs1552768
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1552768 - Remove hover style rules on Windows for the search input field r=nhnt11 Differential Revision: https://phabricator.services.mozilla.com/D31772
browser/themes/windows/syncedtabs/sidebar.css
toolkit/themes/windows/global/textbox.css
--- a/browser/themes/windows/syncedtabs/sidebar.css
+++ b/browser/themes/windows/syncedtabs/sidebar.css
@@ -38,24 +38,16 @@
   background-image: url(chrome://global/skin/icons/searchfield-cancel.svg);
   background-repeat: no-repeat;
 }
 
 .textbox-search-clear:not([disabled]) {
   cursor: default;
 }
 
-.textbox-search-clear:not([disabled]):hover {
-  background-position: -16px 0;
-}
-
-.textbox-search-clear:not([disabled]):hover:active {
-  background-position: -32px 0;
-}
-
 .client .item.tab > .item-title-container {
   padding-inline-start: 26px;
 }
 .item.tab > .item-title-container {
   padding-inline-start: 14px;
 }
 
 .item-icon-container {
--- a/toolkit/themes/windows/global/textbox.css
+++ b/toolkit/themes/windows/global/textbox.css
@@ -97,21 +97,13 @@ textbox:not([searchbutton]) > .textbox-s
   list-style-image: url(chrome://global/skin/icons/searchfield-cancel.svg);
   -moz-image-region: rect(0, 14px, 14px, 0);
 }
 
 .textbox-search-clear:not([disabled]) {
   cursor: default;
 }
 
-.textbox-search-clear:not([disabled]):hover {
-  -moz-image-region: rect(0, 32px, 16px, 16px);
-}
-
-.textbox-search-clear:not([disabled]):hover:active {
-  -moz-image-region: rect(0, 48px, 16px, 32px);
-}
-
 /* ::::: textboxes inside toolbarpaletteitems ::::: */
 
 toolbarpaletteitem > toolbaritem > textbox > moz-input-box > html|*.textbox-input {
   visibility: hidden;
 }