Skip to content

Remove support of field-sizing from <select> #11194

@sakupi01

Description

@sakupi01

What is the issue with the HTML Standard?

As resolved in w3c/csswg-drafts#11879, <select> will no longer be an element with default preferred size, and the field-sizing: content !important; is going to be added to the new select UA stylesheet spec.

For this reason, it's reasonable to update the existing HTML spec.
e.g. the following and other related parts should be removed&updated:

The select element is an element with default preferred size, and user agents are expected to apply the 'field-sizing' CSS property to select elements.
https://html.spec.whatwg.org/multipage/rendering.html#the-select-element-2

Although speccing the new <select>'s UA stylesheet is under construction, I'd love to PR for the default preferred size part!

Filed an issue in CSS: w3c/csswg-drafts#12055

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