API to change caret color/width |
||||
Issue descriptionAndroid Views offer an API called android:textCursorDrawable which lets developers change caret color/shape: https://developer.android.com/reference/android/R.attr.html#textCursorDrawable Please provide a similar API for WebView/Chrome.
,
Dec 20 2016
Relevant spec: https://drafts.csswg.org/css-ui-4/#insertion-caret
,
Dec 21 2016
There's an existing implementation of caret-color underway: issue 665422 Are you after caret-shape (https://drafts.csswg.org/css-ui-4/#caret-shape) or something else that controls the caret width?
,
Dec 21 2016
It's great to hear that the caret-color support is coming. I am more after caret width (mainly to have the same look/feel of Android's EditText)
,
Dec 21 2016
Note that caret width isn't currently part of the spec, but caret-shape is. Caret width was mentioned as a possible extension to the caret spec in this post on the www-style list: https://lists.w3.org/Archives/Public/www-style/2011Nov/0772.html You could ask www-style for caret-width to be added to the CSS UI 4 spec
,
Dec 21 2016
Closing as WontFix as there is nothing in the spec currently for caret width. Will reopen in future if this feature is included in the spec. |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugsnash@chromium.org
, Dec 20 2016