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

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

Issue 1509853008: Move select/option/optgroup-related tests in fast/forms to fast/forms/select. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <style> 3 <style>
4 select { 4 select {
5 width: 168px; 5 width: 168px;
6 padding: 5px; 6 padding: 5px;
7 font-size: 16px; 7 font-size: 16px;
8 height: 34px; 8 height: 34px;
9 background: transparent; 9 background: transparent;
10 } 10 }
11 </style> 11 </style>
12 <script> 12 <script>
13 if (window.testRunner) 13 if (window.testRunner)
14 testRunner.setUseMockTheme(false); 14 testRunner.setUseMockTheme(false);
15 </script> 15 </script>
16 <p>The background should be yellow.</p> 16 <p>The background should be yellow.</p>
17 <select id = "select"> 17 <select id = "select">
18 <option>CA</option> 18 <option>CA</option>
19 <option>TX</option> 19 <option>TX</option>
20 </select> 20 </select>
21 <script> 21 <script>
22 var select = document.getElementById('select'); 22 var select = document.getElementById('select');
23 if (window.internals) 23 if (window.internals)
24 window.internals.setAutofilled(select, true); 24 window.internals.setAutofilled(select, true);
25 </script> 25 </script>
26 </body> 26 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698