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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/text/input-placeholder-text-indent-expected.html

Issue 1636073006: Placeholder style should meet WCAG contrast ratio guidelines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaseline tests Created 3 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 input { color: darkGray; font-size: 30px; width: 500px; } 2 input { color: #757575; font-size: 30px; width: 500px; }
3 input.a { text-indent: 0px; } 3 input.a { text-indent: 0px; }
4 input.b { text-indent: 10px; } 4 input.b { text-indent: 10px; }
5 input.c { text-indent: 200px; } 5 input.c { text-indent: 200px; }
6 input.d { text-indent: -10px; } 6 input.d { text-indent: -10px; }
7 input.e { text-indent: 50%; } 7 input.e { text-indent: 50%; }
8 </style> 8 </style>
9 9
10 <div style="direction:ltr"> 10 <div style="direction:ltr">
11 <input value="placeholder"><br> 11 <input value="placeholder"><br>
12 <input class="a" value="placeholder"><br> 12 <input class="a" value="placeholder"><br>
13 <input class="b" value="placeholder"><br> 13 <input class="b" value="placeholder"><br>
14 <input class="c" value="placeholder"><br> 14 <input class="c" value="placeholder"><br>
15 <input class="d" value="placeholder"><br> 15 <input class="d" value="placeholder"><br>
16 <input class="e" value="placeholder"><br> 16 <input class="e" value="placeholder"><br>
17 </div> 17 </div>
18 <div style="direction:rtl"> 18 <div style="direction:rtl">
19 <input value="placeholder"><br> 19 <input value="placeholder"><br>
20 <input class="a" value="placeholder"><br> 20 <input class="a" value="placeholder"><br>
21 <input class="b" value="placeholder"><br> 21 <input class="b" value="placeholder"><br>
22 <input class="c" value="placeholder"><br> 22 <input class="c" value="placeholder"><br>
23 <input class="d" value="placeholder"><br> 23 <input class="d" value="placeholder"><br>
24 <input class="e" value="placeholder"><br> 24 <input class="e" value="placeholder"><br>
25 </div> 25 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698