Add showPicker method to <select> elements
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: lwarlow, Assigned: evilpies)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
Steps to reproduce:
The showPicker() method is a new addition to HTMLSelectElement which addresses a common request from web developers: programmatically showing the options picker. This is a natural progression from the <input> showPicker() method
<select id="select">
...
</select>
<button onclick="select.showPicker()">Show the options picker</button>
WHATWG Spec PR: https://github.com/whatwg/html/pull/9754
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 2•2 years ago
|
||
See https://github.com/mozilla/standards-positions/issues/886 for standards position issue
Assignee | ||
Comment 3•2 years ago
|
||
Reporter | ||
Comment 4•2 years ago
|
||
WPT sync bug https://bugzilla.mozilla.org/show_bug.cgi?id=1856097
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
Just as an fyi I've also done the mdn work for this
https://github.com/mdn/browser-compat-data/pull/20852
https://github.com/mdn/content/pull/29406
Assuming the spec PR gets merged I'll mark those as a ready and I'm currently aiming for a Chrome 121 shipping target for it.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:evilpie, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Assignee | ||
Comment 7•2 years ago
|
||
The PR is still not merged, not sure if we want to land it before that.
Comment 9•2 years ago
|
||
bugherder |
Comment 10•2 years ago
|
||
Did you want to nominate this for the Fx121 relnotes?
Assignee | ||
Comment 11•2 years ago
|
||
When I landed this initially, it looked to me like the spec PR was about to land, but now there is an ongoing discussion about the behavior in uncomposed documents and even concerns with the previous <input> showPicker method.
Depends on D192711
Assignee | ||
Comment 12•2 years ago
|
||
Thanks for the reminder, I am just about to make this method Nightly-only, so we won't need that.
Comment 13•2 years ago
|
||
Comment 14•2 years ago
|
||
bugherder |
Reporter | ||
Comment 15•1 years ago
|
||
Fyi the HTML spec PR just got merged. Happy to make a follow up issue to mark as stable if that's prefered.
Assignee | ||
Comment 16•1 years ago
|
||
(In reply to Luke from comment #15)
Fyi the HTML spec PR just got merged. Happy to make a follow up issue to mark as stable if that's prefered.
Yes, please. Thank you.
Comment 17•1 years ago
|
||
FYI MDN Docs work for this can be tracked on https://github.com/mdn/content/issues/30336. Very little needed since @Luke did all the work :-). Just addition to experimental features, and some review comments. I'm marking as dev-doc-complete as it's pretty much done.
Updated•1 year ago
|
Description
•