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

If you want to go with `input`, then it's exclusively a presentation change. The HTML, the DOM and the semantics don't change.

> 2\. possibly an additional state to allow revealing more contents on focus

Google Search's behavior would be achieved via:

```css
input:hover {
 text-wrap: wrap;
}
```

which would cause the input field to revert to single-line when not focused. 

-- 
GitHub Notification of comment by fregante
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10019#issuecomment-1978010681 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:46:25 UTC