-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
What is the issue with the HTML Standard?
While reviewing #11758 I found some issues that are already in the spec with the select
element and base appearance.
https://html.spec.whatwg.org/#the-select-element-2 says
A select element whose multiple attribute is absent, and whose display size is 1, is expected to render as an 'inline-block' one-line drop-down box.
But in Chromium it's inline-flex when it has base appearance.
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/resources/html.css;l=1900?ss=chromium
https://html.spec.whatwg.org/#the-select-element-2:~:text=The%20following%20styles%20are%20expected%20to%20apply%20to%20select%20elements%20when%20they%20are%20being%20rendered%20as%20a%20drop%2Ddown%20box%20with%20base%20appearance%3A has some styles that are duplicated in https://html.spec.whatwg.org/#form-controls , e.g. text-transform: initial;
-- are both intended to apply?
Chromium has letter-spacing: -internal-auto-base(normal, inherit);
which suggests the first section is not intended to apply, but the spec doesn't say it shouldn't apply.
cc @josepharhar