CSS caret-color doesn't use currentColor by default
The commit message in 53c22bf8 says:
The comment says setting caret-color to currentColor shouldn't be necessary, and it is right.
But it actually doesn't seem right (yet). caret-color
doesn't use currentColor
by default.
Steps to reproduce
- Run gtk4-widget-factory.
- Paste the following CSS in the inspector.
text, textview { color: red; }
- Check the caret-color of entries or textviews.
Current behavior
The caret color remains black.
Expected outcome
The caret color turns red.
Version information
master
Additional information
FWIW, caret-color
currently seems to use the root widget's text color by default. To check it, please paste the CSS:
window { color: red; }