Bug 1508702 - Fix menulist focus outline on Windows. r=dao
authorPaolo Amadini <paolo.mozmail@amadzone.org>
Thu, 22 Nov 2018 14:53:56 +0000
changeset 447682 7968f626961d92679bc275d4f526c5d435a8a5d1
parent 447681 da7bf8203ec1bc2c5aa27b88029a0c06036f33a1
child 447683 dc1eb225488c72c73dabcce4179b94e3dd008ca9
push id110070
push userpaolo.mozmail@amadzone.org
push dateThu, 22 Nov 2018 15:28:28 +0000
treeherdermozilla-inbound@7968f626961d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1508702
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 1508702 - Fix menulist focus outline on Windows. r=dao Differential Revision: https://phabricator.services.mozilla.com/D12565
toolkit/themes/windows/global/menulist.css
--- a/toolkit/themes/windows/global/menulist.css
+++ b/toolkit/themes/windows/global/menulist.css
@@ -16,34 +16,31 @@ menulist {
   margin: 2px 4px;
   color: -moz-FieldText;
   text-shadow: none;
 }
 
 .menulist-label-box {
   -moz-box-align: center;
   -moz-box-pack: center;
-  border: 1px solid transparent;
-  background-color: transparent;
-  color: inherit;
 }
 
 .menulist-label {
   margin: 0 3px !important;
 }
 
 /* ..... focused state ..... */
 
 menulist:focus:not([open="true"]) > .menulist-label-box {
   background-color: Highlight;
   color: HighlightText;
 }
 
 menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
-  border: 1px dotted ThreeDDarkShadow;
+  outline: 1px dotted;
 }
 
 /* ..... disabled state ..... */
 
 menulist[disabled="true"] {
   background-color: -moz-Dialog;
   color: GrayText;
 }