Bug 1552768 - Remove hover style rules on Windows for the search input field. r=nhnt11 a=jcristau
authorAndrei Oprea <andrei.br92@gmail.com>
Mon, 20 May 2019 16:32:49 +0000
changeset 533381 1d17556df566802d63e1239d7c42e44772c9a734
parent 533380 342f01df71a8421e39232da98d9e0f0c808a327c
child 533382 baf9be06329bcfa0777295b41b55b23debafb195
push id11307
push usernbeleuzu@mozilla.com
push dateFri, 24 May 2019 18:27:55 +0000
treeherdermozilla-beta@b7c117554a7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11, jcristau
bugs1552768
milestone68.0
Bug 1552768 - Remove hover style rules on Windows for the search input field. r=nhnt11 a=jcristau 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;
 }