7 background-color: green;
10 <p>This test checks how various input elements are styled when :placeholder-shown is applied.
</p>
13 <textarea placeholder
></textarea>
14 <textarea placeholder=
"Placeholder text" class=
"placeholder-shown"></textarea>
15 <textarea placeholder=
"Placeholder text">Foobar
</textarea>
20 <input placeholder=
"Placeholder text" class=
"placeholder-shown">
21 <input placeholder=
"Placeholder text" value=
"Foobar">
25 <input type=
"" placeholder
>
26 <input type=
"" placeholder=
"Placeholder text" class=
"placeholder-shown">
27 <input type=
"" placeholder=
"Placeholder text" value=
"Foobar">
31 <input type=
"hidden" placeholder
>
32 <input type=
"hidden" placeholder=
"Placeholder text" class=
"placeholder-shown">
33 <input type=
"hidden" placeholder=
"Placeholder text" value=
"Foobar">
37 <input type=
"text" placeholder
>
38 <input type=
"text" placeholder=
"Placeholder text" class=
"placeholder-shown">
39 <input type=
"text" placeholder=
"Placeholder text" value=
"Foobar">
43 <input type=
"tel" placeholder
>
44 <input type=
"tel" placeholder=
"Placeholder text" class=
"placeholder-shown">
45 <input type=
"tel" placeholder=
"Placeholder text" value=
"Foobar">
49 <input type=
"url" placeholder
>
50 <input type=
"url" placeholder=
"Placeholder text" class=
"placeholder-shown">
51 <input type=
"url" placeholder=
"Placeholder text" value=
"Foobar">
55 <input type=
"email" placeholder
>
56 <input type=
"email" placeholder=
"Placeholder text" class=
"placeholder-shown">
57 <input type=
"email" placeholder=
"Placeholder text" value=
"Foobar">
60 <input type=
"password">
61 <input type=
"password" placeholder
>
62 <input type=
"password" placeholder=
"Placeholder text" class=
"placeholder-shown">
63 <input type=
"password" placeholder=
"Placeholder text" value=
"Foobar">
67 <input type=
"search" placeholder
>
68 <input type=
"search" placeholder=
"Placeholder text" class=
"placeholder-shown">
69 <input type=
"search" placeholder=
"Placeholder text" value=
"Foobar">
73 <input type=
"date" placeholder
>
74 <input type=
"date" placeholder=
"Placeholder text">
75 <input type=
"date" placeholder=
"Placeholder text" value=
"Foobar">
79 <input type=
"month" placeholder
>
80 <input type=
"month" placeholder=
"Placeholder text">
81 <input type=
"month" placeholder=
"Placeholder text" value=
"Foobar">
85 <input type=
"week" placeholder
>
86 <input type=
"week" placeholder=
"Placeholder text">
87 <input type=
"week" placeholder=
"Placeholder text" value=
"Foobar">
91 <input type=
"time" placeholder
>
92 <input type=
"time" placeholder=
"Placeholder text">
93 <input type=
"time" placeholder=
"Placeholder text" value=
"Foobar">
96 <input type=
"datetime-local">
97 <input type=
"datetime-local" placeholder
>
98 <input type=
"datetime-local" placeholder=
"Placeholder text">
99 <input type=
"datetime-local" placeholder=
"Placeholder text" value=
"Foobar">
102 <input type=
"number">
103 <input type=
"number" placeholder
>
104 <input type=
"number" placeholder=
"Placeholder text" class=
"placeholder-shown">
105 <input type=
"number" placeholder=
"Placeholder text" value=
"0">
109 <input type=
"range" placeholder
>
110 <input type=
"range" placeholder=
"Placeholder text">
111 <input type=
"range" placeholder=
"Placeholder text" value=
"1">
114 <input type=
"checkbox">
115 <input type=
"checkbox" placeholder
>
116 <input type=
"checkbox" placeholder=
"Placeholder text">
117 <input type=
"checkbox" placeholder=
"Placeholder text" value=
"Foobar">
121 <input type=
"radio" placeholder
>
122 <input type=
"radio" placeholder=
"Placeholder text">
123 <input type=
"radio" placeholder=
"Placeholder text" value=
"Foobar">
127 <input type=
"file" placeholder
>
128 <input type=
"file" placeholder=
"Placeholder text">
129 <input type=
"file" placeholder=
"Placeholder text" value=
"Foobar">
132 <input type=
"submit">
133 <input type=
"submit" placeholder
>
134 <input type=
"submit" placeholder=
"Placeholder text">
135 <input type=
"submit" placeholder=
"Placeholder text" value=
"Foobar">
139 <input type=
"image" placeholder
>
140 <input type=
"image" placeholder=
"Placeholder text">
141 <input type=
"image" placeholder=
"Placeholder text" value=
"Foobar">
145 <input type=
"reset" placeholder
>
146 <input type=
"reset" placeholder=
"Placeholder text">
147 <input type=
"reset" placeholder=
"Placeholder text" value=
"Foobar">
151 <input type=
"color" placeholder
>
152 <input type=
"color" placeholder=
"Placeholder text">
153 <input type=
"color" placeholder=
"Placeholder text" value=
"Foobar">