summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /layout/reftests/forms
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/forms')
-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