summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-placeholder/input/css-text-align.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-placeholder/input/css-text-align.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/css-placeholder/input/css-text-align.html b/layout/reftests/css-placeholder/input/css-text-align.html
new file mode 100644
index 0000000000..d71af94d52
--- /dev/null
+++ b/layout/reftests/css-placeholder/input/css-text-align.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <link rel='stylesheet' type='text/css' href='style.css'>
+ <style>
+ [placeholder="bar"]::-moz-placeholder,
+ [placeholder="foo"]::placeholder {
+ text-align: center;
+ }
+ </style>
+ <body>
+ <input placeholder='foo'>
+ <input placeholder='bar'>
+ </body>
+</html>