Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
    • /html/semantics/forms/the-select-element/customizable-select/select-appearance-wrong-picker-argument.tentative.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class=reftest-wait>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=mismatch href="select-appearance-button-ref.html">
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<style>
select {
appearance: base-select;
}
select::picker(foo) {
appearance: base-select;
}
</style>
<select>
<option>one</option>
<option>two</option>
</select>
<script>
(async () => {
await test_driver.click(document.querySelector('select'));
await new Promise(requestAnimationFrame);
document.documentElement.classList.remove('reftest-wait');
})();
</script>