Bug 1510197 - Remove hover state from disabled textboxes. r=ntim,dao
authormatthias <matthias@kammueller.eu>
Fri, 30 Nov 2018 16:49:35 +0000
changeset 505444 c186225bdb57835555522f6f4ffc1d45c5aec9d8
parent 505443 4c54e897a85670f8e8eabc95cea5b7a94f9880b7
child 505445 99eed75874f1fa653c3cc35a509b191d16ec89fe
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim, dao
bugs1510197
milestone65.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 1510197 - Remove hover state from disabled textboxes. r=ntim,dao Differential Revision: https://phabricator.services.mozilla.com/D13544
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -414,21 +414,21 @@ html|input[type="email"],
 html|input[type="tel"],
 html|input[type="text"],
 html|textarea {
   font-family: inherit;
   font-size: inherit;
   padding: 5px 8px;
 }
 
-html|input[type="email"]:hover,
-html|input[type="tel"]:hover,
-html|input[type="text"]:hover,
-html|textarea:hover,
-xul|textbox:hover {
+html|input[type="email"]:enabled:hover,
+html|input[type="tel"]:enabled:hover,
+html|input[type="text"]:enabled:hover,
+html|textarea:enabled:hover,
+xul|textbox:not([disabled="true"]):hover {
   border-color: var(--in-content-border-hover);
 }
 
 html|input[type="email"]:focus,
 html|input[type="tel"]:focus,
 html|input[type="text"]:focus,
 html|textarea:focus,
 xul|textbox[focused] {