summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/number/number-placeholder.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/number/number-placeholder.html')
-rw-r--r--layout/reftests/forms/input/number/number-placeholder.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/number/number-placeholder.html b/layout/reftests/forms/input/number/number-placeholder.html
new file mode 100644
index 000000000..5018255ca
--- /dev/null
+++ b/layout/reftests/forms/input/number/number-placeholder.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+
+input {
+ width: 15em;
+}
+
+input[type=number]::placeholder {
+ color: blue;
+ opacity: 1.0;
+}
+
+input[type=number]::-moz-placeholder {
+ font-style: italic;
+ opacity: 1.0;
+}
+ </style>
+ </head>
+ <body>
+ <input type="number" placeholder="123">
+ </body>
+</html>