| <!DOCTYPE html> |
| <meta charset="utf-8" /> |
| <title>CSS Text Decoration Test: text-decoration-line: grammar-error color</title> |
| <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> |
| <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#valdef-text-decoration-line-grammar-error"> |
| <meta name="assert" content="This test checks that it is possible to tweak the color of 'text-decoration-line: grammar-error' with 'text-decoration-color' property."> |
| <link rel="match" href="text-decoration-line-grammar-error-color-002-ref.html"> |
| <style> |
| div { |
| padding: 10px; |
| background: cyan; |
| } |
| |
| span { |
| text-decoration-line: grammar-error; |
| text-decoration-color: transparent; |
| } |
| </style> |
| |
| <p>The test passes if you cannot see a grammar error marker in the next sentence.</p> |
| <div>The <span>quikc</span> brown fox.</div> |