Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field-sizing property, for content-responsive form inputs #757

Open
mirisuzanne opened this issue Sep 26, 2024 · 1 comment
Open

Field-sizing property, for content-responsive form inputs #757

mirisuzanne opened this issue Sep 26, 2024 · 1 comment
Labels
focus-area-proposal Focus Area Proposal

Comments

@mirisuzanne
Copy link

Description

The field-sizing property in CSS allows authors to opt-in to content-based sizing for text-based inputs, selects, and textareas. This is a very common request from authors, and has historically required JS. But content-intrinsic sizing is pretty a pretty common default in CSS, and it would be great to have this ability on form-fields cross-browser!

Specification

https://drafts.csswg.org/css-ui/#field-sizing

Additional Signals

I'm not aware of any web compatibility issues.

Browsers:

Author workarounds:

Author interest in field-sizing:

@lukewarlow
Copy link
Member

mozilla/standards-positions#849 - here's the positive Firefox standards position btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

2 participants