Kevin Brosnan -
Bug 1435988 disable border radius styling on the range element - r=snorp
MozReview-Commit-ID: G9Hy7hXvAKY
--- 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 {