summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/counter-reset-reversed-not-list-item-start.html
blob: 368ed81ee7c4212411f6130781b96cb3825212c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: counter-reset reversed(not-list-item) with start value</title>
<link rel="help" href="https://drafts.csswg.org/css-lists/#counter-reset">
<link rel="match" href="counter-7-ref.html">
<style>
  .reset-reversed { counter-reset: reversed(not-list-item) 7 }
  .result::before { content: counter(not-list-item) }
</style>
<p>You should see the number 7 below.</p>
<div>
  <span class="reset-reversed"></span>
  <span></span>
  <span class="result"></span>
  <span></span>
  <span></span>
  <span></span>
  <span></span>
</div>