summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/number/number-pseudo-elements.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/number/number-pseudo-elements.html')
-rw-r--r--layout/reftests/forms/input/number/number-pseudo-elements.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/number/number-pseudo-elements.html b/layout/reftests/forms/input/number/number-pseudo-elements.html
new file mode 100644
index 000000000..33cf40fcf
--- /dev/null
+++ b/layout/reftests/forms/input/number/number-pseudo-elements.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+
+/* None of these selectors should match from content */
+input[type=number]::-moz-number-wrapper,
+input[type=number]::-moz-number-text,
+input[type=number]::-moz-number-spin-box,
+input[type=number]::-moz-number-spin-up,
+input[type=number]::-moz-number-spin-down {
+ background-color: red;
+}
+
+ </style>
+ </head>
+ <body>
+ <input type="number" style="-moz-appearance:none;">
+ </body>
+</html>