blob: 822a63e1045879d7293b4a48469f2cf06e1b4aec (
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
27
28
29
30
31
|
<!DOCTYPE html>
<html class=reftest-wait>
<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>
<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>
requestAnimationFrame(() => {
document.querySelector('select').style = 'appearance:base-select';
document.querySelector('button').click();
document.documentElement.classList.remove('reftest-wait');
});
</script>
|