Re: [csswg-drafts] [css-ui] ? Allow <textarea> to be sized by contents. (#7542)

I have two notes regarding the different discussed options.
Firstly, if we choose to go with keywords for `min-intrinsic-sizing`, then we should _not_ introduce keywords specific to the type of input. So no `from-textarea` or `from-input`. As it was implicitly pointed out earlier, this mechanism should also work for elements with `contenteditable` attribute. So I think, `from-content` as suggested by @astearns or something similar would be better.
Secondly, if we choose to go with a new property, then `form-sizing` probably isn't the right name. The property refers to any elements allowing manipulation of their contents, not forms. For that, my suggestion would rather be `input-sizing`, `text-input-sizing` (though with `contenteditable`, contents can be more than just text) or `content-sizing`.

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7542#issuecomment-1540936052 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 9 May 2023 21:50:46 UTC