OLD | NEW |
1 <style> | 1 <style> |
2 .center::-webkit-input-placeholder { | 2 .center::-webkit-input-placeholder { |
3 text-align: center; | 3 text-align: center; |
4 } | 4 } |
5 </style> | 5 </style> |
6 <!-- This tests that the placeholder is positioned correctly in different kinds
of elements --> | 6 <!-- This tests that the placeholder is positioned correctly in different kinds
of elements --> |
7 <input type="search" placeholder="placeholder"><br> | 7 <input type="search" placeholder="placeholder"> |
8 <input type="text" placeholder="placeholder"><br> | 8 <br> |
| 9 <input type="text" placeholder="placeholder" size=10> |
| 10 <input placeholder="placeholder" style="line-height:1;" size=10> |
| 11 <input placeholder="日本語placeholder"> |
| 12 <br> |
9 <input type="search" placeholder="placeholder" style="direction: rtl"><br> | 13 <input type="search" placeholder="placeholder" style="direction: rtl"><br> |
10 <input type="search" placeholder="placeholder" results=5><br> | 14 <input type="search" placeholder="placeholder" results=5><br> |
11 <textarea placeholder="placeholder"></textarea><br> | 15 <textarea placeholder="placeholder"></textarea><br> |
12 <input type="text" placeholder="placeholder" style="padding-bottom: 15px;"><br> | 16 <input type="text" placeholder="placeholder" style="padding-bottom: 15px;"><br> |
13 <textarea placeholder="placeholder" style="padding-top: 15px;"></textarea><br> | 17 <textarea placeholder="placeholder" style="padding-top: 15px;"></textarea><br> |
14 <input type="text" placeholder="placeholder" style="font-size: 15px; border: sol
id 5px black; margin: 5px;"><br> | 18 <input type="text" placeholder="placeholder" style="font-size: 15px; border: sol
id 5px black; margin: 5px;"><br> |
15 | 19 |
16 <input value="Value" style="line-height: 25px;"> | 20 <input value="Value" style="line-height: 25px;"> |
17 <input placeholder="placeholder" style="line-height: 25px;"> <br> | 21 <input placeholder="placeholder" style="line-height: 25px;"> |
| 22 <input placeholder="placeholder" style="height: 25px;"> |
| 23 <input placeholder="placeholder" style="height: 25px; line-height: 25px;"> |
| 24 <br> |
18 | 25 |
19 <input value="Value" style="text-align: center;"> | 26 <input value="Value" style="text-align: center;"> |
20 <input placeholder="placeholder" style="text-align: center;"> | 27 <input placeholder="placeholder" style="text-align: center;"> |
21 <input placeholder="placeholder" class="center"> <br> | 28 <input placeholder="placeholder" class="center"> |
| 29 <br> |
22 | 30 |
23 <input type="text" placeholder="placeholder" style="padding-top: 15px; transform
: translateY(30px) rotateZ(30deg)"><br> | 31 <input type="text" placeholder="placeholder" style="padding-top: 15px; transform
: translateY(30px) rotateZ(30deg)"><br> |
OLD | NEW |