mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Make ContentItem use a CustomIdent for counter names
See https://github.com/w3c/csswg-drafts/pull/2377
This commit is contained in:
parent
1df6c97948
commit
a4d3a8d74a
6 changed files with 74 additions and 26 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue