summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/system-extends-invalid.html
blob: 446fe45e561f9a0a746830bf6642746131cdf0a9 (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
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: system extends, invalid</title>
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org/">
<link rel="help" href="https://drafts.csswg.org/css-counter-styles-3/#extends-system">
<link rel="match" href="system-extends-invalid-ref.html">
<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
  @counter-style a {
    system: extends b;
    prefix: a;
  }
  @counter-style b {
    system: extends c;
    suffix: b;
  }
  @counter-style c {
    system: extends b;
    pad: 2 c;
  }
  @counter-style d {
    system: extends d;
    prefix: d;
  }
  @counter-style e {
    system: extends unknown;
    prefix: e;
  }
  @counter-style f {
    system: extends decimal;
    symbols: a;
  }
  @counter-style g {
    system: extends decimal;
    additive-symbols: 1 a;
  }
</style>
<ol>
  <li style="list-style-type: a;">
  <li style="list-style-type: b;">
  <li style="list-style-type: c;">
  <li style="list-style-type: d;">
  <li style="list-style-type: e;">
  <li style="list-style-type: f;">foo
  <li style="list-style-type: g;">bar
</ol>