web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
298 stars 28 forks source link

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

Open mirisuzanne opened 1 week ago

mirisuzanne commented 1 week ago

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 commented 5 days ago

https://github.com/mozilla/standards-positions/issues/849 - here's the positive Firefox standards position btw.