You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CSS forms: Support align-content on button / input centering #1410
This allows authors to override the alignment of text in buttons, making it easier to style form controls.
Note that the spec here is still under discussion. However our implementation experience suggests that successfully shipping this is a coordination/webcompat issue because some sites are expecting the current behaviour; if browsers don't ship together this platform change is unlikely to be possible.
This comment was automatically generated based on the information you provided. Please don't edit it.
No web features (from the web-features project) were found in your proposal. If your proposal doesn't correspond to a web feature, that is fine.
Otherwise, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
changed the title [-]CSS forms: Use align-content for button / input centering[/-][+]CSS forms: Support align-content on button / input centering[/+]on Oct 1, 2026
Description
This allows authors to override the alignment of text in buttons, making it easier to style form controls.
Note that the spec here is still under discussion. However our implementation experience suggests that successfully shipping this is a coordination/webcompat issue because some sites are expecting the current behaviour; if browsers don't ship together this platform change is unlikely to be possible.
Specification
w3c/csswg-drafts#14190
web-feature
No response
Test Links
https://wpt.fyi/results/html/rendering/non-replaced-elements/form-controls/resets.html?label=master&label=experimental&aligned&q=html%2Frendering%2Fnon-replaced-elements%2Fform-controls%2Fresets.html
https://wpt.fyi/results/html/rendering/widgets/baseline-alignment-and-overflow.tentative.html?label=master&label=experimental&aligned&q=html%2Frendering%2Fwidgets%2Fbaseline-alignment-and-overflow.tentative.html
https://wpt.fyi/results/html/rendering/non-replaced-elements/form-controls/align-content.tentative.html
Additional Signals
https://bugzilla.mozilla.org/show_bug.cgi?id=2055599