<!DOCTYPE html>
<html class=reftest-wait>
<link rel=author href="mailto:[email protected]">
<link rel=help href="https://github.com/whatwg/html/issues/9799">
<link rel=match href="select-appearance-switching-invalidation-ref.html">
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<style>
.blue {
color: blue;
}
</style>
<select>
<button>button</button>
<option>
<span class=blue>option</span> one
</option>
<option>
<span class=blue>option</span> two
</option>
</select>
<script>
requestAnimationFrame(async () => {
await test_driver.bless();
const select = document.querySelector('select');
select.style = 'appearance:base-select';
select.showPicker();
document.documentElement.classList.remove('reftest-wait');
});
</script>