summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-currentcolor-painting-properties-001-ref.html
blob: 93e2002f4aa2bde2c0d1adbb13e0dfd2abf82421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!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:rego@igalia.com">
<link rel="stylesheet" href="support/highlights.css">
<style>
div {
  color: lime;
  background: green;
  margin: 10px;
}
#empty > span {
}
#color-currentcolor > span {
  color: currentcolor;
}
#backgroundcolor-currentcolor > span {
  background-color: currentcolor;
}
#textdecorationcolor-currentcolor > span {
  text-decoration-line: underline;
  text-decoration-color: currentcolor;
}
#color-currentcolor-backgroundcolor-currentcolor > span {
  color: currentcolor;
  background-color: currentcolor;
}
#color-currentcolor-backgroundcolor-blue > span {
  color: currentcolor;
  background-color: blue;
}
#color-blue-backgroundcolor-currentcolor > span {
  color: blue;
  background-color: currentcolor;
}
</style>

<div id="empty" class="highlight_reftest"><span>example</span> - empty</div>
<div id="color-currentcolor" class="highlight_reftest"><span>example</span> - color-currentcolor</div>
<div id="backgroundcolor-currentcolor" class="highlight_reftest"><span>example</span> - backgroundcolor-currentcolor</div>
<div id="textdecorationcolor-currentcolor" class="highlight_reftest"><span>example</span> - textdecorationcolor-currentcolor</div>
<div id="color-currentcolor-backgroundcolor-currentcolor" class="highlight_reftest"><span>example</span> - color-currentcolor-backgroundcolor-currentcolor</div>
<div id="color-currentcolor-backgroundcolor-blue" class="highlight_reftest"><span>example</span> - color-currentcolor-backgroundcolor-blue</div>
<div id="color-blue-backgroundcolor-currentcolor" class="highlight_reftest"><span>example</span> - color-blue-backgroundcolor-currentcolor</div>