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

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: Update code as per review comments 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
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/platform/linux/fast/forms/select-autofilled-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..80f2ce9e528f8c7121c1e6c5e392d28f3f31d695
--- /dev/null
+++ b/LayoutTests/fast/forms/select-autofilled.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<body>
+<style>
+ select {
+ width: 168px;
+ padding: 5px;
+ font-size: 16px;
+ height: 34px;
+ background: transparent;
+ }
+</style>
+<script>
+if (window.testRunner)
+ testRunner.setUseMockTheme(false);
+</script>
+<p>The background should be yellow.</p>
+ <select id = "select">
+ <option>CA</option>
+ <option>TX</option>
+ </select>
+<script>
+ var select = document.getElementById('select');
+ if (window.internals)
+ window.internals.setAutofilled(select, true);
+</script>
+</body>
« 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