[csswg-drafts] Styling form control pickers (#10440)

annevk has just created a new issue for https://github.com/w3c/csswg-drafts:

== Styling form control pickers ==
As part of the discussion around [`appearance: base`](https://github.com/w3c/csswg-drafts/issues/5998) colleagues and I [presented a vision](https://lists.w3.org/Archives/Public/www-archive/2024May/att-0004/stylable-form-controls.pdf) of how this could work. The idea outlined in that presentation is that stylability of form control pickers (the overlay box for select options, selecting a date, etc.) would have its own independent opt-in. This is because we think that form controls (excluding their pickers) can probably be mostly done all at once with a simple `appearance: base` switch and accompanying pseudo-elements.

Form control pickers however are quite a bit more involved and we expect it to take longer to tackle them and some we expect will never be stylable (e.g., the file picker). The idea is that when a form control uses `appearance: base` you can address its picker using `::picker(form-control-identifier)` and independently set that to `appearance: base` as well. E.g., `select, select::picker(select) { appearance:base }` would give you a stylable select. `::picker(form-contorl-identifier)` would represent the outermost box of the form control picker and additional pseudo-elements will be needed to address the various pieces it consists of.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10440 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 June 2024 09:48:08 UTC