Skip to content

Commit

Permalink
Update tests per w3c/csswg-drafts#6297
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Jun 16, 2021
1 parent e4cecdc commit aff8277
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions css/css-lists/counter-10-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<p>You should see the number 10 below.</p>
<div>10</div>
9 changes: 2 additions & 7 deletions css/css-lists/counter-reset-reversed-not-list-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<meta charset="utf-8">
<title>CSS Lists: counter-reset reversed(not-list-item)</title>
<link rel="help" href="https://drafts.csswg.org/css-lists/#counter-reset">
<link rel="match" href="counter-7-ref.html">
<link rel="match" href="counter-10-ref.html">
<style>
span { counter-increment: not-list-item -2; }
.reset-reversed { counter-reset: reversed(not-list-item) }
.result::before { content: counter(not-list-item) }
</style>
<p>You should see the number 7 below.</p>
<p>You should see the number 10 below.</p>
<div>
<span class="reset-reversed"></span>
<span></span>
Expand All @@ -17,9 +17,4 @@
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>

0 comments on commit aff8277

Please sign in to comment.