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

Unified 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: upload file again Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/select-autofilled.html
diff --git a/LayoutTests/fast/forms/select-autofilled.html b/LayoutTests/fast/forms/select-autofilled.html
new file mode 100644
index 0000000000000000000000000000000000000000..69fbc1a23b7e632078821eb679b0c6958e7e566e
--- /dev/null
+++ b/LayoutTests/fast/forms/select-autofilled.html
@@ -0,0 +1,21 @@
+<style>
+ select {
+ width: 168px;
+ padding: 5px;
+ font-size: 16px;
+ height: 34px;
+ background: transparent;
+ }
+</style>
+<body>
+ <p>The background should be yellow.</p>
+ <select id = "select">
+ <option>CA</option>
+ <option>TX</option>
+ </select>
+</body>
+<script>
+ var select = document.getElementById('select');
+ if (window.internals)
+ window.internals.setAutofilled(select, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698