summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-decoration-line-grammar-error-color-001.html
blob: e9560bb47cfa11aa1b6b2a58b0f5f6c956f1e2b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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 not 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-001-ref.html">
<style>
  span {
    text-decoration-line: grammar-error;
  }
  .test {
    text-decoration-color: rgba(200, 225, 50, 0.75);
  }
</style>

<p>The test passes if the grammar error marker on both instances of "quikc" have the same color.
<div>The <span class=test>quikc</span> brown fox.</div>
<div>The <span>quikc</span> brown fox.</div>