- From: jfkthame via GitHub <noreply@w3.org>
- Date: Tue, 26 Aug 2025 08:47:24 +0000
- To: public-css-archive@w3.org
I don't think a 1px underscore caret is a good idea -- it'll be virtually invisible. > In the case of a character that is non visible, the spec says that the width should be 1ch My reading of the spec is that if there is a non-visible (zero-width) character or characters following the insertion point, the caret ignores these and is drawn with the width of the next *visible* character: > The width of the [block](https://www.w3.org/TR/css-ui-4/#valdef-caret-shape-block) and [underscore](https://www.w3.org/TR/css-ui-4/#valdef-caret-shape-underscore) carets should be the advance measure of the next [visible character](https://www.w3.org/TR/css-ui-4/#visible-character) after the insertion point I think that's reasonable. The `1ch` fallback only comes into effect "if there is no next visible character". I suppose letting the block caret become 1px if the following character is invisible would be OK (though I'm not convinced it's an improvement), but we should not do it for underscore, at least. -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12651#issuecomment-3223219398 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 26 August 2025 08:47:25 UTC