Make ContentItem use a CustomIdent for counter names

See https://github.com/w3c/csswg-drafts/pull/2377
This commit is contained in:
Anthony Ramine 2018-03-01 12:38:02 +01:00
parent 1df6c97948
commit a4d3a8d74a
6 changed files with 74 additions and 26 deletions

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Lists: </title>
<link rel="author" title="Anthony Ramine" href="mailto:n.oxyde@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-lists/#counter-functions">
<link rel="match" href="counter-7-ref.html">
<style>
div::after { content: " is not " counter(inherit) }
</style>
<p>You should see the number 7 below.</p>
<div>7</div>