*Contact emails*
re...@igalia.com
*Spec*
https://drafts.csswg.org/css-ui/#propdef-caret-color
The property is in the Candidate Recommendation (CR) and
I've talked to one of the spec editors to confirm it's stable enough.
It's in the "at-risk" section due to lack of implementations
at this point.
*Summary*
This property allows coloring the insertion caret.
*Motivation*
People have been willing to have a bigger control over
the insertion caret, as linked in the original discussion at CSS WG:
https://lists.w3.org/Archives/Public/www-style/2011Nov/0772.html
Bloomberg has been using this feature for a long time,
so hopefully it can be useful for more people too.
*Interoperability risk*
It's a very simple feature that nobody is implementing yet,
so no interoperability risks right now.
There're already some tests on the W3C test suite and
we'll be contributing more if needed:
https://github.com/w3c/csswg-test/tree/master/css-ui-3/
Firefox has a patch that has been stalled for a while:
https://bugzilla.mozilla.org/show_bug.cgi?id=1063162
The rest of the browsers haven't show any public signal about it.
*Compatibility risk*
If the property is not supported, the only difference would be
that the caret wouldn't use the specified color but the current one.
For example in an input element it'll use the color of the text,
instead of the color specified by the property "caret-color".
Anyway the text is expected to have a visible color
so it shouldn't be a big issue.
*Ongoing technical constraints*
We're already setting the color of the caret using the color property,
we'll be just changing this to use the new property.
Regarding testing we can easily add the caret color information
when we run the layout tests.
*Will this feature be supported on all six Blink platforms
(Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?*
Yes.
*OWP launch tracking bug*
https://bugs.chromium.org/p/chromium/issues/detail?id=665422
*Link to entry on the Chrome Platform Status*
https://www.chromestatus.com/feature/5720917787279360
*Requesting approval to ship?*
Yes. This is a very small change so I guess it's not worth to develop
it behind a runtime flag.