chromium/third_party/blink/web_tests/wpt_internal/css/css-pseudo/grammar-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>
  ::grammar-error {
    text-decoration-color: magenta;
  }
</style>

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

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