[css-ui] Allow <input> / <textarea> to be sized by contents, via `field-sizing: fixed | content`
Categories
(Core :: Layout, enhancement)
Tracking
()
People
(Reporter: mozilla-apprentice, Assigned: mozilla)
References
(Depends on 1 open bug, Blocks 2 open bugs, )
Details
(Keywords: dev-doc-needed)
A resolution was made for csswg-drafts/#7542.
[css-ui] ? Allow <textarea> to be sized by contents.
- RESOLVED: Add a new property (provisionally "form-sizing: normal &124; auto") that turns off the "half-replaced" sizing of form controls and makes them content-based like normal elements
Comment 1•2 years ago
•
|
||
(In reply to Mozilla Apprentice from comment #0)
(provisionally "form-sizing: normal &124; auto"
(this was broken via some bot-copypasting-around encoding conversion; it should read:
form-sizing: normal | auto
(We should wait on spec text / finalized naming before diving too far into this. I think IanK is working on a prototype of this in Blink and he said it wasn't too much work, for what it's worth.)
Updated•1 year ago
|
Comment 2•1 year ago
|
||
This has changed to be field-sizing with values of fixed and content. See https://drafts.csswg.org/css-ui/#field-sizing
Comment 3•1 year ago
|
||
Chrome intent to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/MjCCRQo9Qk0/m/XTjOSVDcAAAJ
Updated•11 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Comment 4•3 months ago
|
||
Is there any ETA on this feature? It saves a lot of time in my use case and would like to avoid having to do a workaround for firefox.
Assignee | ||
Updated•2 months ago
|
Description
•