blob: f71c1e52fc612baf0a30a2280fae8f2a76204898 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!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">
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<select>
<button type=popover>button</button>
<datalist>
<option>one</option>
<option>two</option>
</datalist>
</select>
<script>
requestAnimationFrame(() => {
document.querySelector('select').style = 'appearance:bikeshed';
document.querySelector('button').click();
document.documentElement.classList.remove('reftest-wait');
});
</script>
|