summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-counter-styles/counter-style-at-rule/system-alphabetic-invalid.html
blob: c0f8ae926db7c5643fd2e1b456c8e3e4ada7ec26 (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
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: system alphabetic, 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/#alphabetic-system">
<link rel="match" href="system-common-invalid2-ref.html">
<link rel="stylesheet" href="support/test-common.css">
<style type="text/css">
  @counter-style a {
    system: alphabetic;
    suffix: ":";
  }
  @counter-style b {
    system: alphabetic;
    symbols: A;
    suffix: ":";
  }
</style>
<ol start="-2" style="list-style-type: a">
  <li>foo<li>bar<li>foo<li>bar
</ol>
<ol start="-2" style="list-style-type: b">
  <li>foo<li>bar<li>foo<li>bar
</ol>