diff --git a/html/semantics/forms/the-select-element/customizable-select/resources/customizable-select-styles.css b/html/semantics/forms/the-select-element/customizable-select/resources/customizable-select-styles.css index 427ffe3e93d487..90ecced4f1ca28 100644 --- a/html/semantics/forms/the-select-element/customizable-select/resources/customizable-select-styles.css +++ b/html/semantics/forms/the-select-element/customizable-select/resources/customizable-select-styles.css @@ -60,7 +60,6 @@ border-radius: 0.5em; cursor: default; text-align: inherit; - /* TODO(crbug.com/41483940): Make display match the UA stylesheet. */ display: inline-flex; gap: 0.5em; overflow-x: hidden; diff --git a/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex-ref.html b/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex-ref.html index 66b27ea686ef28..c7f900e67591b1 100644 --- a/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex-ref.html +++ b/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex-ref.html @@ -13,6 +13,10 @@ select { appearance: base-select; } + + ::picker-icon { + display: none; + }
diff --git a/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex.html b/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex.html index 563cf72b5f3e76..94e9ad3c22e61d 100644 --- a/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex.html +++ b/html/semantics/forms/the-select-element/customizable-select/select-appearance-sizing-in-flex.html @@ -20,6 +20,13 @@ select, .after { white-space: nowrap; } + + /* ::picker-icon will render inline in this test but on a new line in the + * reference because the select's inner element is display:block and can't be + * changed. */ + ::picker-icon { + display: none; + }
diff --git a/html/semantics/forms/the-select-element/customizable-select/select-display-block-ref.html b/html/semantics/forms/the-select-element/customizable-select/select-display-block-ref.html new file mode 100644 index 00000000000000..c02e2898cb1d1e --- /dev/null +++ b/html/semantics/forms/the-select-element/customizable-select/select-display-block-ref.html @@ -0,0 +1,16 @@ + + + + + +
+ one +
diff --git a/html/semantics/forms/the-select-element/customizable-select/select-display-block.tentative.html b/html/semantics/forms/the-select-element/customizable-select/select-display-block.tentative.html new file mode 100644 index 00000000000000..a29d54d00cf14f --- /dev/null +++ b/html/semantics/forms/the-select-element/customizable-select/select-display-block.tentative.html @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + diff --git a/html/semantics/forms/the-select-element/customizable-select/select-grid-before-after-ref.html b/html/semantics/forms/the-select-element/customizable-select/select-grid-before-after-ref.html new file mode 100644 index 00000000000000..e3ed37c6a48274 --- /dev/null +++ b/html/semantics/forms/the-select-element/customizable-select/select-grid-before-after-ref.html @@ -0,0 +1,42 @@ + + + + +
+ +
diff --git a/html/semantics/forms/the-select-element/customizable-select/select-grid-before-after.html b/html/semantics/forms/the-select-element/customizable-select/select-grid-before-after.html new file mode 100644 index 00000000000000..a9ce9661680f92 --- /dev/null +++ b/html/semantics/forms/the-select-element/customizable-select/select-grid-before-after.html @@ -0,0 +1,49 @@ + + + + + + + +