Re: [csswg-drafts] [css-ui] `caret-shape` definition should mention about the case of IME composition (#13055)

@frivoal 

> Also, is there a bit of a gray boundary of what is / isn't an IME? Traditionally, IMEs are these on/off things you get on destkop to enter languages like Chinese, Japanese or Korean. But I think to some degree, text input on mobile,

Good point. From browsers, any input which has composing state may need to ignore the `caret-shape` for aligning the rendering result to the native apps. So, I think browsers may need to ignore the style if and only if there is composing text. In other words, it's no problem that if the text input system inserts only fixed string like that spellchecker replaces the selected word.

(And I guess it's no problem if caret is collapsed at end of the composition string. It may be a problem that the caret selects a character like Korean IME or the caret is middle of the composing string like Japanese IME.)


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


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

Received on Tuesday, 9 December 2025 02:45:38 UTC