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-multiple-removed.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel=author href="mailto:ansollan@microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/testdriver.js"></script>
<script src="/resources/testdriver-vendor.js"></script>
<style>
select, select::picker(select) {
appearance: base-select;
}
</style>
<select multiple></select>
<script>
promise_test(async () => {
step_timeout(() => {
document.querySelector('select').removeAttribute('multiple');
}, 10);
}, 'Removing the multiple attribute should not crash.');
</script>