blob: 9b2f53df2838a680fa9c356e88fdbbdc4e5604c3 (
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>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=help href="https://github.com/whatwg/html/issues/9799">
<link rel=match href="select-child-button-and-datalist-ref.html">
<style>
.blue {
color: blue;
}
</style>
<select style="appearance:base-select">
<button type=popover>button</button>
<datalist>
<option>
<span class=blue>option</span> one
</option>
<option>
<span class=blue>option</span> two
</option>
</datalist>
</select>
<script>
document.querySelector('button').click();
</script>
|