- From: Federico Brigante via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Oct 2023 17:34:48 +0000
- To: public-css-archive@w3.org
Why not `field-size: fit-content`?
```css
/* expand vertically */
textarea {field-size: fit-content}
/* expand horizontally */
input {field-size: fit-content}
```
Then, if a wrapping `input` field were to be specced by CSS, it could automatically start expanding it vertically instead.
``` css
/* expand vertically */
input {
wrap-property-tbd: wrap;
field-size: fit-content;
}
```
--
GitHub Notification of comment by fregante
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7542#issuecomment-1747352120 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 October 2023 17:34:49 UTC