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> |