summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-placeholder/input/css-text-align.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-placeholder/input/css-text-align.html')
-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 000000000..d71af94d5
--- /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>