summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/range/to-range-from-other-type-unthemed-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/range/to-range-from-other-type-unthemed-1.html')
-rw-r--r--layout/reftests/forms/input/range/to-range-from-other-type-unthemed-1.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/range/to-range-from-other-type-unthemed-1.html b/layout/reftests/forms/input/range/to-range-from-other-type-unthemed-1.html
new file mode 100644
index 0000000000..86ff0c5214
--- /dev/null
+++ b/layout/reftests/forms/input/range/to-range-from-other-type-unthemed-1.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <!-- Test: input element changed to range state doesn't look like checkbox state -->
+ <script type="text/javascript">
+ function setToRange()
+ {
+ document.getElementById('i').type='range';
+ document.documentElement.className = '';
+ }
+ document.addEventListener("MozReftestInvalidate", setToRange);
+ </script>
+ <body>
+ <input type='checkbox' id='i' style="-moz-appearance:none;">
+ </body>
+</html>