summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/select/select-autofilled.html
blob: 80f2ce9e528f8c7121c1e6c5e392d28f3f31d695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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>