Re: [csswg-drafts] [css-ui] Optionally wrap `input` content instead of causing invisible overflow (#10019)

I still think `input` is the only way to go, because you are asking for something with almost the same sematics and behavior as `input` except:
1. how its content is presented (i.e. allow wrapping or not)
2. possibly an additional state to allow revealing more contents on focus

And `input { text-wrap: wrap; }` should be a better choice.

Btw should this issue be discussed at [@whatwg/html](https://github.com/whatwg/html) instead? Because I feel like an auto-wrapping input is hardly useful without 2, and if we want to introduce a behavioral change, we should go to whatwg first. CSS is mostly for presentational topics.

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


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

Received on Tuesday, 5 March 2024 05:18:37 UTC