summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scoping/scoped-reference-animation-ref.html
blob: 9f407eb690e0fb3d033afba0817082f84e30b783 (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
<!DOCTYPE html>
<title>Tests animation with tree-scoped names and references</title>

<style>
@counter-style from-counter-style {
  system: cyclic;
  symbols: 'X';
}

@counter-style to-counter-style {
  system: cyclic;
  symbols: 'O';
}

#target1 {
  list-style-type: from-counter-style;
}

#target2 {
  list-style-type: to-counter-style;
}
</style>

<ul id="target1">
  <li>List marker should be X
</ul>

<ul id="target2">
  <li>List marker should be O
</ul>