summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-pseudo/highlight-cascade/highlight-currentcolor-painting-properties-002-ref.html
blob: 6f9066cba8a4108f9285fc427812cb57ebdb6a66 (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
46
47
48
49
<!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;
}
div > span {
  color: yellow;
  background: maroon;
}
#empty > span > span {
}
#color-currentcolor > span > span {
  color: currentcolor;
}
#backgroundcolor-currentcolor > span > span {
  background-color: currentcolor;
}
#textdecorationcolor-currentcolor > span > span {
  text-decoration-line: underline;
  text-decoration-color: currentcolor;
}
#color-currentcolor-backgroundcolor-currentcolor > span > span {
  color: currentcolor;
  background-color: currentcolor;
}
#color-currentcolor-backgroundcolor-blue > span > span {
  color: currentcolor;
  background-color: blue;
}
#color-blue-backgroundcolor-currentcolor > span > span {
  color: blue;
  background-color: currentcolor;
}
</style>

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