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

Side by Side Diff: LayoutTests/fast/forms/select-autofilled.html

Issue 216923003: Add pixel test for <select> -webkit-autofil style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update code as per review comments Created 6 years, 8 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
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <style>
4 select {
5 width: 168px;
6 padding: 5px;
7 font-size: 16px;
8 height: 34px;
9 background: transparent;
10 }
11 </style>
12 <script>
13 if (window.testRunner)
14 testRunner.setUseMockTheme(false);
15 </script>
16 <p>The background should be yellow.</p>
17 <select id = "select">
18 <option>CA</option>
19 <option>TX</option>
20 </select>
21 <script>
22 var select = document.getElementById('select');
23 if (window.internals)
24 window.internals.setAutofilled(select, true);
25 </script>
26 </body>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/linux/fast/forms/select-autofilled-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698