diff --git a/source b/source index e6c462593cb..909e1ea7655 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;
@@ -147700,14 +147703,13 @@ progress { appearance: auto; }
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 +147829,25 @@ 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;
+ letter-spacing: initial;
+ word-spacing: initial;
+ line-height: initial;
+}
+
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;
background-color: transparent;
border: 1px solid currentColor;
padding-block: 0.25em;
@@ -147846,7 +147858,6 @@ select {
gap: 0.5em;
border-radius: 0.5em;
user-select: none;
- box-sizing: border-box;
field-sizing: content !important;
}