Bug 1428676 Part 5 - Change the appearance of dropmarker from menulist-button to menulist-button-orig. r?mats
MozReview-Commit-ID: GG20fz3qV1o
--- 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;
}