Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/placeholder-position.html

Issue 2005093002: Remove non-standard 'results' attribute of INPUT element. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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"> 7 <input type="search" placeholder="placeholder">
8 <br> 8 <br>
9 <input type="text" placeholder="placeholder" size=10> 9 <input type="text" placeholder="placeholder" size=10>
10 <input placeholder="placeholder" style="line-height:1;" size=10> 10 <input placeholder="placeholder" style="line-height:1;" size=10>
11 <input placeholder="&#x65E5;&#x672C;&#x8A9E;placeholder"> 11 <input placeholder="&#x65E5;&#x672C;&#x8A9E;placeholder">
12 <br> 12 <br>
13 <input type="search" placeholder="placeholder" style="direction: rtl"><br> 13 <input type="search" placeholder="placeholder" style="direction: rtl"><br>
14 <input type="search" placeholder="placeholder" results=5><br> 14 <input type="search" placeholder="placeholder"><br>
15 <textarea placeholder="placeholder"></textarea><br> 15 <textarea placeholder="placeholder"></textarea><br>
16 <input type="text" placeholder="placeholder" style="padding-bottom: 15px;"><br> 16 <input type="text" placeholder="placeholder" style="padding-bottom: 15px;"><br>
17 <textarea placeholder="placeholder" style="padding-top: 15px;"></textarea><br> 17 <textarea placeholder="placeholder" style="padding-top: 15px;"></textarea><br>
18 <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>
19 19
20 <input value="Value" style="line-height: 25px;"> 20 <input value="Value" style="line-height: 25px;">
21 <input placeholder="placeholder" style="line-height: 25px;"> 21 <input placeholder="placeholder" style="line-height: 25px;">
22 <input placeholder="placeholder" style="height: 25px;"> 22 <input placeholder="placeholder" style="height: 25px;">
23 <input placeholder="placeholder" style="height: 25px; line-height: 25px;"> 23 <input placeholder="placeholder" style="height: 25px; line-height: 25px;">
24 <input placeholder="placeholder" style="height: 25px; line-height: 5px;"> 24 <input placeholder="placeholder" style="height: 25px; line-height: 5px;">
25 <br> 25 <br>
26 26
27 <input value="Value" style="text-align: center;"> 27 <input value="Value" style="text-align: center;">
28 <input placeholder="placeholder" style="text-align: center;"> 28 <input placeholder="placeholder" style="text-align: center;">
29 <input placeholder="placeholder" class="center"> 29 <input placeholder="placeholder" class="center">
30 <br> 30 <br>
31 31
32 <input type="text" placeholder="placeholder" style="padding-top: 15px; transform : translateY(30px) rotateZ(30deg)"><br> 32 <input type="text" placeholder="placeholder" style="padding-top: 15px; transform : translateY(30px) rotateZ(30deg)"><br>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698