W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-sizing] Please add vertical auto-resize textarea field

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Wed, 14 Feb 2018 18:45:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-365705274-1518633923-sysbot+gh@w3.org>
- Good question about placeholders. I'm thinking we should count them as content whether they're visible or not, since that'll give the most stable behavior. Alternately we could ignore them when they're not visible.
- I think this aspect should be handled by min-height, since we can do it that way without any extra magic. `min-block-size: 1lh` in the UA style sheet should do the trick. Then the author can set other values if they prefer. I'm not 100% sure if that's Web-compatible, though: do authors size textareas smaller than 1lh typically?

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2141#issuecomment-365705274 using your GitHub account
Received on Wednesday, 14 February 2018 18:45:27 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC