- From: Luke Warlow via GitHub <noreply@w3.org>
- Date: Tue, 10 Mar 2026 00:49:04 +0000
- To: public-css-archive@w3.org
lukewarlow has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-forms] Should button-like elements align-items: center? ==
We don't do any form of vertical alignment on button-like elements, this can lead to weird behaviour if your font-size is set such that the text doesn't fill the block-size of the element.
`data:text/html,<select style="appearance:base-select"><option checked>Foo</option></select><style>body { font-size: 8px; }</style>`
<img width="207" height="136" alt="Image" src="https://github.com/user-attachments/assets/4ac9de30-aa5b-4c05-966a-e85a477e0ea1" />
Should we add `align-items:center`? Which would make it look like:
<img width="198" height="136" alt="Image" src="https://github.com/user-attachments/assets/6e5d7077-24ab-4935-b6e4-9b3f37e7e6a0" />
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13623 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 March 2026 00:49:05 UTC