Define base appearance for list box select elements
This PR defines base appearance for select elements which are being rendered as a list box, as opposed to the prior customizable select PR which defined base appearance for drop down select elements.
Fixes https://github.com/whatwg/html/issues/11477
- [x] At least two implementers are interested (and none opposed):
- Chrome
- Gecko
- Standards positions:
- https://github.com/WebKit/standards-positions/issues/559
- https://github.com/mozilla/standards-positions/issues/1304
- [x] Tests are written and can be reviewed and commented upon at:
- https://wpt.fyi/results/html/semantics/forms/the-select-element/customizable-select-in-page
- [x] Implementation bugs are filed:
- Chromium: https://issues.chromium.org/issues/357649033
- Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=2005585
- WebKit: https://bugs.webkit.org/show_bug.cgi?id=304004
- [x] Corresponding HTML AAM & ARIA in HTML issues & PRs: Not needed because the existing mappings are sufficient.
- [x] MDN issue is filed: https://github.com/mdn/content/issues/42358
- [x] The top of this comment includes a clear commit message to use.
(See WHATWG Working Mode: Changes for more details.)
/form-elements.html ( diff ) /rendering.html ( diff )
I filed https://github.com/whatwg/html/issues/11804 , I can review this again when that is fixed.
I would suggest adding tests in this area that check which UA styles are applied, see e.g. https://github.com/web-platform-tests/wpt/blob/master/html/rendering/widgets/the-select-element/select-as-listbox-default-styles.tentative.html
I filed #11804 , I can review this again when that is fixed.
Thanks, I started a fix: https://github.com/whatwg/html/pull/11805
I would suggest adding tests in this area that check which UA styles are applied, see e.g. https://github.com/web-platform-tests/wpt/blob/master/html/rendering/widgets/the-select-element/select-as-listbox-default-styles.tentative.html
Here is a test I'm working on: https://chromium-review.googlesource.com/c/chromium/src/+/6276680
Now that https://github.com/whatwg/html/issues/11804 has been fixed and I have rebased this PR, and we got a resolution in the sizing issue, and we have a positive standards position from mozilla, this PR is ready for review.
Some of the linked tests are tentative, is there a PR to make them not tentative?
Some of the linked tests are tentative, is there a PR to make them not tentative?
I added a chromium patch to make them non-tentative, which will generate a WPT PR later