Bug 1710934 - Hotfix - Re-enable urlbar-input:not(:focus) rule. r=dao
authorHarry Twyford <htwyford@mozilla.com>
Sat, 17 Jul 2021 12:46:39 +0000
changeset 585779 660fd0b1b386014dbaa409ac82fe7b907207bd27
parent 585778 047c36f483388bf15a636805c1387b1af815b021
child 585780 d1c491b1f6d056bf8dac7919f8c6cb272e1f949d
push id38620
push usercsabou@mozilla.com
push dateSun, 18 Jul 2021 09:08:29 +0000
treeherdermozilla-central@cc4e5ea0c986 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1710934
milestone92.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 1710934 - Hotfix - Re-enable urlbar-input:not(:focus) rule. r=dao Looks like I disabled this rule at some point during testing and a rebase issue drew it into the final patch. Differential Revision: https://phabricator.services.mozilla.com/D120114
browser/themes/shared/urlbar-searchbar.inc.css
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -143,20 +143,20 @@
 }
 
 #urlbar-input:-moz-lwtheme::selection,
 .searchbar-textbox:-moz-lwtheme::selection {
   background-color: var(--lwt-toolbar-field-highlight, -moz-system-color(text-select-background, light));
   color: var(--lwt-toolbar-field-highlight-text, -moz-system-color(text-select-foreground, light));
 }
 
-/* #urlbar-input:not(:focus):-moz-lwtheme::selection,
+#urlbar-input:not(:focus):-moz-lwtheme::selection,
 .searchbar-textbox:not(:focus-within):-moz-lwtheme::selection {
-  background-color: -moz-system-color(text-select-background-disabled, light);
-} */
+  background-color: var(--lwt-toolbar-field-highlight, -moz-system-color(text-select-background-disabled, light));
+}
 
 :root[lwt-toolbar-field-focus-brighttext] #urlbar-input:focus::selection,
 :root[lwt-toolbar-field-focus-brighttext] .searchbar-textbox:focus-within::selection {
   background-color: var(--lwt-toolbar-field-highlight, -moz-system-color(text-select-background, dark));
   color: var(--lwt-toolbar-field-highlight-text, -moz-system-color(text-select-foreground, dark));
 }
 
 :root[lwt-toolbar-field-brighttext] #urlbar-input:not(:focus)::selection,