[csswg-drafts] [css-forms-1] Clarify whether `::picker-icon` is present for `<input list="datalist">` elements (#11839)

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

== [css-forms-1] Clarify whether `::picker-icon` is present for `<input list="datalist">` elements ==
Currently, the CSS Forms spec says that `::picker-icon` is present when the control opens a picker. Though in the pseudo elements section it only shows as being present for `<select>`. It would be good to clarify whether these are also present for inputs with valid list attributes where a datalist picker shows.

Chromium generates a `::-webkit-calendar-picker-indicator` which itself gets a sub `::marker` pseudo.

WebKit permanently has an (unstylable?) `::-webkit-list-button` and forces it to display: block when there's a datalist.

Firefox seemingly has no indicator for datalists.

Having a standard `::picker-icon` that shows would be nice.

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


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

Received on Wednesday, 5 March 2025 19:03:50 UTC