Re: [csswg-drafts] [css-ui] Add caret-width or add spec that browser maintains caret width despite transforms (#4784)

The CSS Working Group just discussed `caret-width`, and agreed to the following:

* `RESOLVED: Add SHOULD requirement to spec about making sure caret is visible`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: caret-width<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/4784<br>
&lt;fantasai> florian: Have an issue with person reporting trouble with carets<br>
&lt;fantasai> florian: particularly when element containing caret is transformed<br>
&lt;fantasai> florian: sometimes caret becomes invisible because &lt; 1px<br>
&lt;fantasai> florian: Proposing a caret-width property that lets you make the caret big when it would be small so you can still see it<br>
&lt;fantasai> florian: I'm not convinced this is the answer to the probem, but the problem is real<br>
&lt;fantasai> florian: imho the caret is browser UI, and browser should just make sure it's visible<br>
&lt;fantasai> florian: shouldn't need someone to tell you how many pixels that is<br>
&lt;fantasai> florian: We already have an unimplemented caret-shape property which switches between various carets<br>
&lt;fantasai> florian: There's room to say in this definition that the browser should make it thick enough to be visible<br>
&lt;fantasai> florian: and then we can write tests for that<br>
&lt;fantasai> florian: but maybe there's some other use case for caret-width<br>
&lt;fantasai> astearns: I'll take the silence as lack of appetite for caret-width<br>
&lt;fantasai> astearns: so proposal is to add caret SHOULD be visible through transforms etc.<br>
&lt;fantasai> florian: could even be a MUST<br>
&lt;fantasai> florian: would not say how, but make it visible anyway<br>
&lt;fantasai> florian: Reasonable to say if there's a caret need to be able to see it<br>
&lt;fantasai> astearns: but we do tend not to get into browser UI territory<br>
&lt;fantasai> TabAtkins: also some extreme cases, like transforming entire textarea into 1px, not sensical to see the caret<br>
&lt;fantasai> gregwhitworth: Would like to see bugs filed<br>
&lt;fantasai> gregwhitworth: agree with should<br>
&lt;fantasai> fantasai: If the text is visible, then the caret inserted into the text should also be visible<br>
&lt;fantasai> florian: COuld go three ways. 0) reject to do anything 1) add should about visibility 2) add caret-width<br>
&lt;fantasai> RESOLVED: Add SHOULD requirement to spec about making sure caret is visible<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4784#issuecomment-666508090 using your GitHub account


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

Received on Thursday, 30 July 2020 16:29:46 UTC