: 10em;
    padding: 10px;
    background: black; color: white; /* the color of a thin object like the caret is easier to see on a black background. */
  }
  div {
    caret-color: lime;
  }
</style>
<body>
  <p>Test passes if, when the text area below is focused for editing, the text insertion caret is green.</p>
  <p>The shape of the caret, and whether it flashes, are not part of the test.</p>
  <div>
    <textarea id="test"></textarea>
  </div>
  <script>
    window.onload = function() {
      document.g