Bug 1428676 Part 5 - Change the appearance of dropmarker from menulist-button to menulist-button-orig. r?mats draft
authorLouis Chang <lochang@mozilla.com>
Fri, 12 Jan 2018 17:18:57 +0800
changeset 719528 52f7c1987e7129f9cee35dcac6a5f2ad5b8b7c9c
parent 719527 46fad9985c854f6229257bfd4feb17ce1b7b271f
child 719529 1e9ed24fd082c2c44d90045076b9946eddf1a126
push id95280
push userlochang@mozilla.com
push dateFri, 12 Jan 2018 09:19:41 +0000
reviewersmats
bugs1428676
milestone59.0a1
Bug 1428676 Part 5 - Change the appearance of dropmarker from menulist-button to menulist-button-orig. r?mats MozReview-Commit-ID: GG20fz3qV1o
layout/style/res/forms.css
toolkit/themes/linux/global/dropmarker.css
toolkit/themes/linux/global/menulist.css
toolkit/themes/osx/global/dropmarker.css
toolkit/themes/windows/global/dropmarker.css
--- a/layout/style/res/forms.css
+++ b/layout/style/res/forms.css
@@ -286,17 +286,17 @@ select[size="1"] {
 
 select > button {
   inline-size: 12px;
   white-space: nowrap;
   position: static !important;
   background-image: url("arrow.gif") !important;
   background-repeat: no-repeat !important;
   background-position: center !important;
-  -moz-appearance: menulist-button;
+  -moz-appearance: menulist-button-orig;
 
   /* Make sure to size correctly if the combobox has a non-auto height. */
   block-size: 100% ! important;
   box-sizing: border-box ! important;
 
   /*
     Make sure to align properly with the display frame.  Note that we
     want the baseline of the combobox to match the baseline of the
--- a/toolkit/themes/linux/global/dropmarker.css
+++ b/toolkit/themes/linux/global/dropmarker.css
@@ -1,7 +1,7 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 dropmarker {
-  -moz-appearance: menulist-button;
+  -moz-appearance: menulist-button-orig;
 }
--- a/toolkit/themes/linux/global/menulist.css
+++ b/toolkit/themes/linux/global/menulist.css
@@ -67,17 +67,17 @@ menulist[editable="true"] {
   padding-top: 3px;
   padding-bottom: 3px;
   padding-inline-start: 2px;
   padding-inline-end: 0px;
 }
 
 menulist[editable="true"] > .menulist-dropmarker {
   display: -moz-box;
-  -moz-appearance: menulist-button;
+  -moz-appearance: menulist-button-orig;
 }
 
 html|*.menulist-editable-input {
   margin: 0px !important;
   border: none !important;
   padding: 0px !important;
   font: inherit;
 }
--- a/toolkit/themes/osx/global/dropmarker.css
+++ b/toolkit/themes/osx/global/dropmarker.css
@@ -1,14 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 dropmarker {
-  -moz-appearance: menulist-button;
+  -moz-appearance: menulist-button-orig;
   width: 16px;
   -moz-box-align: center;
   -moz-box-pack: center;
   padding: 1px;
   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
   -moz-image-region: auto;
 }
 
--- a/toolkit/themes/windows/global/dropmarker.css
+++ b/toolkit/themes/windows/global/dropmarker.css
@@ -1,14 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 dropmarker {
-  -moz-appearance: menulist-button;
+  -moz-appearance: menulist-button-orig;
   width: 16px;
   height: 16px;
   -moz-box-align: center;
   -moz-box-pack: center;
   padding: 1px;
   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
   -moz-image-region: auto;
 }