caret-color-inline-expected.html 316 B

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