<!DOCTYPE html> | |
Tests color of caret changes with the 'color' style. Passes if caret is always in the came color as the text. | |
<div id="div" contenteditable="true" style="color: green; font-size: 50px">SAMPLE</div> | |
<script src="../../resources/run-after-layout-and-paint.js"></script> | |
<script> | |
div.focus(); | |
</script> |