Kevin Brosnan - Bug 1435988 disable border radius styling on the range element - r=snorp draft
authorKevin Brosnan <kbrosnan@mozilla.com>
Fri, 16 Feb 2018 13:21:07 -0800
changeset 762049 7a602c7a3bba151f35939847fd352547f33283dd
parent 760935 ee326c976eebdca48128054022c443d3993e12b0
push id101064
push userbmo:kbrosnan@mozilla.com
push dateThu, 01 Mar 2018 18:32:17 +0000
reviewerssnorp
bugs1435988
milestone60.0a1
Kevin Brosnan - Bug 1435988 disable border radius styling on the range element - r=snorp MozReview-Commit-ID: G9Hy7hXvAKY
layout/reftests/forms/input/range/reftest.list
mobile/android/themes/geckoview/content.css
--- a/layout/reftests/forms/input/range/reftest.list
+++ b/layout/reftests/forms/input/range/reftest.list
@@ -23,17 +23,17 @@ fuzzy-if(skiaContent,1,40) == stepUp-unt
 == stepUp.html 75pct-common-ref.html
 == max-prop.html 100pct-common-ref.html
 == reset-value.html reset-value-ref.html
 
 # 'direction' property:
 == direction-unthemed-1.html direction-unthemed-1-ref.html
 
 # ::-moz-range-progress pseudo-element:
-fails-if(Android) == moz-range-progress-1.html moz-range-progress-1-ref.html
+== moz-range-progress-1.html moz-range-progress-1-ref.html
 == moz-range-progress-2.html moz-range-progress-2-ref.html
 == moz-range-progress-3.html moz-range-progress-3-ref.html
 
 # Tests for block and inline orientation in combination with writing-mode
 != range-orient-horizontal.html range-orient-vertical.html
 != range-orient-horizontal.html range-orient-horizontal-rtl.html
 == range-orient-block.html range-orient-vertical.html
 == range-orient-inline.html range-orient-horizontal.html
--- a/mobile/android/themes/geckoview/content.css
+++ b/mobile/android/themes/geckoview/content.css
@@ -96,25 +96,25 @@ button,
 xul|button,
 * > input:not(:-moz-any([type="image"], [type="checkbox"], [type="radio"])) {
   -moz-appearance: none !important;  /* See bug 598421 for fixing the platform */
 }
 
 textarea,
 button,
 xul|button,
-* > input:not(:-moz-any([type="image"], [type="checkbox"], [type="radio"])) {
+* > input:not(:-moz-any([type="image"], [type="checkbox"], [type="radio"], [type="range"])) {
   border-radius: var(--form_border_radius);
 }
 
 select[size],
 select[multiple],
 select[size][multiple],
 textarea,
-* > input:not(:-moz-any([type="image"], [type="checkbox"], [type="radio"])) {
+* > input:not(:-moz-any([type="image"], [type="checkbox"], [type="radio"], [type="range"])) {
   border-style: solid;
   border-color: var(--form_border);
   color: var(--form_text);
   background-color: var(--form_background);
 }
 
 /* Selects are handled by the form helper, see bug 685197 */
 select option, select optgroup {