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/select-toggle-multiple.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html class=reftest-wait>
<link rel=author href="mailto:jarhar@chromium.org">
<link rel=match href="select-toggle-multiple-ref.html">
<select>
<option>one</option>
<option>two</option>
</select>
<script>
(async () => {
const select = document.querySelector('select');
await new Promise(requestAnimationFrame);
select.multiple = true;
await new Promise(requestAnimationFrame);
select.multiple = false;
await new Promise(requestAnimationFrame);
document.documentElement.classList.remove('reftest-wait');
})();
</script>