From 2f6fa9cc494d86f45886d5936fbf2aac8a59d9c0 Mon Sep 17 00:00:00 2001
From: Joey Arhar 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. The inline size of its intrinsic size is the
- width of the select's labels. If the 'field-sizing'
- property on the element has a computed value of
- 'content', the inline size of the
- intrinsic size depends on the shown text. The shown text is typically the label of
- an option of which selectedness is
- set to true.select's labels. If
+ the 'field-sizing' property on the element has a computed value of 'content', the inline size of the
+ intrinsic size depends on the shown text. The shown text is typically the label of an
+ option of which selectedness is set
+ to true.
When the element renders as a drop-down box, it is a devolvable @@ -147827,15 +147826,23 @@ progress { appearance: auto; }
The following styles are expected to apply to select elements when
+ they are being rendered as a drop-down box with native appearance or
+ primitive appearance:
@namespace "http://www.w3.org/1999/xhtml";
+
+select {
+ display: inline-block;
+}
+
The following styles are expected to apply to select elements when
they are being rendered as a drop-down box with base appearance:
@namespace "http://www.w3.org/1999/xhtml";
select {
- text-transform: initial;
- text-align: initial;
- text-indent: initial;
+ letter-spacing: inherit;
background-color: transparent;
border: 1px solid currentColor;
padding-block: 0.25em;
@@ -147846,7 +147853,6 @@ select {
gap: 0.5em;
border-radius: 0.5em;
user-select: none;
- box-sizing: border-box;
field-sizing: content !important;
}
From 1462392a89918b794cff7aa80ae085a9775db8cc Mon Sep 17 00:00:00 2001
From: Joey Arhar
Date: Tue, 21 Oct 2025 12:07:31 -0700
Subject: [PATCH 2/3] separate initial and inherit values
---
source | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/source b/source
index 45f9a02efe6..4e0f7b5de8b 100644
--- a/source
+++ b/source
@@ -146166,10 +146166,13 @@ table {
@namespace "http://www.w3.org/1999/xhtml";
-input, select, button, textarea {
+input, button, textarea {
letter-spacing: initial;
word-spacing: initial;
line-height: initial;
+}
+
+input, select, button, textarea {
text-transform: initial;
text-indent: initial;
text-shadow: initial;
@@ -147834,6 +147837,8 @@ progress { appearance: auto; }
select {
display: inline-block;
+ letter-spacing: initial;
+ word-spacing: initial;
}
The following styles are expected to apply to The following styles are expected to apply to select elements when
@@ -147843,6 +147848,8 @@ select {
select {
letter-spacing: inherit;
+ word-spacing: inherit;
+ line-height: inherit;
background-color: transparent;
border: 1px solid currentColor;
padding-block: 0.25em;
From 087e110bef1f99ad896bd3373d8e402874aaec6b Mon Sep 17 00:00:00 2001
From: Joey Arhar select elements when
@@ -147847,9 +147848,6 @@ select {
@namespace "http://www.w3.org/1999/xhtml";
select {
- letter-spacing: inherit;
- word-spacing: inherit;
- line-height: inherit;
background-color: transparent;
border: 1px solid currentColor;
padding-block: 0.25em;