summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input')
-rw-r--r--layout/reftests/forms/input/range/1887539-ref.html30
-rw-r--r--layout/reftests/forms/input/range/1887539.html35
-rw-r--r--layout/reftests/forms/input/range/reftest.list2
3 files changed, 67 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/range/1887539-ref.html b/layout/reftests/forms/input/range/1887539-ref.html
new file mode 100644
index 0000000000..b539a1b5c2
--- /dev/null
+++ b/layout/reftests/forms/input/range/1887539-ref.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<style>
+#scrubber {
+ height: 100px;
+ width: 100%;
+ appearance: none;
+ background-color: black;
+ box-sizing: border-box;
+ padding: 6px 2px;
+ margin: 0;
+
+ &::-moz-range-thumb {
+ border-radius: 14px;
+ background-color: #BFBFC9;
+ width: 8px;
+ height: 8px;
+ border: 3px solid white;
+ padding: 0;
+ }
+
+ &::-moz-range-track {
+ background-color: #969696;
+ }
+
+ &::-moz-range-progress {
+ background-color: white;
+ }
+}
+</style>
+<input type="range" id="scrubber" value="0.5" min="0" max="1" step=".001">
diff --git a/layout/reftests/forms/input/range/1887539.html b/layout/reftests/forms/input/range/1887539.html
new file mode 100644
index 0000000000..9472af203e
--- /dev/null
+++ b/layout/reftests/forms/input/range/1887539.html
@@ -0,0 +1,35 @@
+<!doctype html>
+<style>
+#scrubber {
+ height: 100px;
+ width: 100%;
+ appearance: none;
+ background-color: black;
+ box-sizing: border-box;
+ padding: 6px 2px;
+ margin: 0;
+
+ &::-moz-range-thumb {
+ border-radius: 14px;
+ background-color: #BFBFC9;
+ width: 8px;
+ height: 8px;
+ border: 3px solid white;
+ padding: 0;
+ }
+
+ &::-moz-range-track {
+ background-color: #969696;
+ }
+
+ &::-moz-range-progress {
+ background-color: white;
+ }
+}
+</style>
+<input type="range" id="scrubber" value="0" min="0" max="1" step=".001">
+<script>
+let scrubber = document.getElementById('scrubber');
+scrubber.getBoundingClientRect();
+scrubber.value = 0.5;
+</script>
diff --git a/layout/reftests/forms/input/range/reftest.list b/layout/reftests/forms/input/range/reftest.list
index 181097dc15..f98f345b95 100644
--- a/layout/reftests/forms/input/range/reftest.list
+++ b/layout/reftests/forms/input/range/reftest.list
@@ -59,3 +59,5 @@ skip-if(Android) == range-border-background.html range-border-background-ref.htm
fails-if(Android) fuzzy(0-2,0-80) == auto-size.html auto-size-ref.html # Snapping, bug 1621141
== range-track-bg.html range-track-bg-ref.html
!= track-default-rendering.html track-default-rendering-ref.html
+
+== 1887539.html 1887539-ref.html