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

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

Issue 1616553004: Align placeholder element and inner-editor element at their baselines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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"><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="&#x65E5;&#x672C;&#x8A9E;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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698