chromium/third_party/blink/web_tests/wpt_internal/css/css-pseudo/spelling-error-color-dynamic-001-ref.html

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>CSS Pseudo-Elements Test: Reference</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:[email protected]">
<script src="../support/markers.js"></script>
<style>
  ::spelling-error {
    text-decoration-color: magenta;
  }
</style>

<p>The test passes if "quikc" has a magenta spelling error marker.</p>
<div id="target" contenteditable spellcheck>The quikc brown fox.</div>

<script>
  addSpellingMarker(target, 4, 9);
</script>