Bug 1715242 [wpt PR 29279] - [selectmenu] Support the 'open' attribute, a=testonly
commit001ccb190db249afd70680f264ce3eef12f124a3
authorDan Clark <daniec@microsoft.com>
Mon, 14 Jun 2021 22:34:07 +0000 (14 22:34 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 15 Jun 2021 05:09:00 +0000 (15 05:09 +0000)
tree308185786d312d699af98710c58bd7ddca6d6d62
parent9726e9797e9330e8fe2de8d3a5c44b4d4812655e
Bug 1715242 [wpt PR 29279] - [selectmenu] Support the 'open' attribute, a=testonly

Automatic update from web-platform-tests
[selectmenu] Support the 'open' attribute

Add support for a readonly 'open' attribute on <selectmenu>, as lightly
specified by https://open-ui.org/components/select. This should be a
useful attribute to prioritize since it will make it more convenient to
write tests that modify the select listbox's open/closed state.

When adding test coverage I noticed an issue where default parts are
not removed properly when their <slot> is no longer showing them as the
fallback content. Fixing this may require some work in how we handle
part changes, so I plan to tackle that in a separate change.

Bug: 1121840
Change-Id: Ia92fba8857afd3f15e87e0392d1040377794eac8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2945831
Commit-Queue: Dan Clark <daniec@microsoft.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Ionel Popescu <iopopesc@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#890847}

--

wpt-commits: cea4400c93e968d90e23762a9f9b093cfd314485
wpt-pr: 29279
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-popup.tentative.html