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