<!DOCTYPE html>
Tests color of caret changes with the 'color' style. Passes if caret is always in the came color as the text.
<input id="target" type="text" value="SAMPLE" style="color: green; font-size: 30px; width: 200px">
<script>
target.focus();
</script>