OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
esprehn
2015/08/21 10:18:10
ditto
ramya.v
2015/08/25 10:24:45
Done.
| |
4 <style> | |
5 input, textarea { | |
6 height: 8px; | |
7 } | |
8 .placeholder-shown { | |
9 background-color: green; | |
10 } | |
11 </style> | |
12 </head> | |
13 <body> | |
14 <p>This test checks how various input elements are styled when :placeholder- shown is applied.</p> | |
15 <div> | |
16 <textarea></textarea> | |
17 <textarea placeholder></textarea> | |
18 <textarea placeholder="WebKit" class="placeholder-shown"></textarea> | |
19 <textarea placeholder="WebKit">Foobar</textarea> | |
20 </div> | |
21 <div> | |
22 <input> | |
23 <input placeholder> | |
24 <input placeholder="WebKit" class="placeholder-shown"> | |
25 <input placeholder="WebKit" value="Foobar"> | |
26 </div> | |
27 <div> | |
28 <input type=""> | |
29 <input type="" placeholder> | |
30 <input type="" placeholder="WebKit" class="placeholder-shown"> | |
31 <input type="" placeholder="WebKit" value="Foobar"> | |
32 </div> | |
33 <div> | |
34 <input type="hidden"> | |
35 <input type="hidden" placeholder> | |
36 <input type="hidden" placeholder="WebKit" class="placeholder-shown"> | |
37 <input type="hidden" placeholder="WebKit" value="Foobar"> | |
38 </div> | |
39 <div> | |
40 <input type="text"> | |
41 <input type="text" placeholder> | |
42 <input type="text" placeholder="WebKit" class="placeholder-shown"> | |
43 <input type="text" placeholder="WebKit" value="Foobar"> | |
44 </div> | |
45 <div> | |
46 <input type="tel"> | |
47 <input type="tel" placeholder> | |
48 <input type="tel" placeholder="WebKit" class="placeholder-shown"> | |
49 <input type="tel" placeholder="WebKit" value="Foobar"> | |
50 </div> | |
51 <div> | |
52 <input type="url"> | |
53 <input type="url" placeholder> | |
54 <input type="url" placeholder="WebKit" class="placeholder-shown"> | |
55 <input type="url" placeholder="WebKit" value="Foobar"> | |
56 </div> | |
57 <div> | |
58 <input type="email"> | |
59 <input type="email" placeholder> | |
60 <input type="email" placeholder="WebKit" class="placeholder-shown"> | |
61 <input type="email" placeholder="WebKit" value="Foobar"> | |
62 </div> | |
63 <div> | |
64 <input type="password"> | |
65 <input type="password" placeholder> | |
66 <input type="password" placeholder="WebKit" class="placeholder-shown"> | |
67 <input type="password" placeholder="WebKit" value="Foobar"> | |
68 </div> | |
69 <div> | |
70 <input type="datetime"> | |
71 <input type="datetime" placeholder> | |
72 <input type="datetime" placeholder="WebKit" class="placeholder-shown"> | |
73 <input type="datetime" placeholder="WebKit" value="Foobar"> | |
74 </div> | |
75 <div> | |
76 <input type="number"> | |
77 <input type="number" placeholder> | |
78 <input type="number" placeholder="WebKit" class="placeholder-shown"> | |
79 <input type="number" placeholder="WebKit" value="0"> | |
80 </div> | |
81 <div> | |
82 <input type="range"> | |
83 <input type="range" placeholder> | |
84 <input type="range" placeholder="WebKit"> | |
85 <input type="range" placeholder="WebKit" value="1"> | |
86 </div> | |
87 <div> | |
88 <input type="checkbox"> | |
89 <input type="checkbox" placeholder> | |
90 <input type="checkbox" placeholder="WebKit"> | |
91 <input type="checkbox" placeholder="WebKit" value="Foobar"> | |
92 </div> | |
93 <div> | |
94 <input type="radio"> | |
95 <input type="radio" placeholder> | |
96 <input type="radio" placeholder="WebKit"> | |
97 <input type="radio" placeholder="WebKit" value="Foobar"> | |
98 </div> | |
99 <div> | |
100 <input type="submit"> | |
101 <input type="submit" placeholder> | |
102 <input type="submit" placeholder="WebKit"> | |
103 <input type="submit" placeholder="WebKit" value="Foobar"> | |
104 </div> | |
105 <div> | |
106 <input type="color"> | |
107 <input type="color" placeholder> | |
108 <input type="color" placeholder="WebKit"> | |
109 <input type="color" placeholder="WebKit" value="Foobar"> | |
110 </div> | |
111 </body> | |
112 </html> | |
OLD | NEW |