Skip to content

[css-forms-1] Should appearance: base-select work on listbox selects? (<select size>/<select multiple>) #12468

@LeaVerou

Description

@LeaVerou

<select> can be rendered as either a dropdown or a listbox, when either size or multiple is set. Setting aside the fact that this was a terrible design choice that confounds unrelated concepts (that ship has sailed…), it appears that the newly shipped implementations of appearance: base-select do not account for these presentations of <select>.

For example, this is a fork of Chrome’s base-select demo from this article, with size="3" added to it. Suddenly, all the new parser goodness is gone.

The current draft has precious little on listboxes:

Given that base-select has shipped fairly recently, and is a feature that authors are very excited about, I think this is high priority since otherwise we may be locked in to preserving the current behavior for web compat reasons.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions