Skip to content

Commit 8d6fc04

Browse files
committed
[css-content-3] Counters aren't <<string>>, so incorporate them explicitly into the 'content' property value definition. #1929
1 parent ea6d306 commit 8d6fc04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-content-3/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Inserting and replacing content with the 'content' property</h2>
8686

8787
<pre class='propdef'>
8888
Name: content
89-
Value: normal | none | [ <<content-replacement>> | <<content-list>> ] [/ <<string>> ]?
89+
Value: normal | none | [ <<content-replacement>> | <<content-list>> ] [/ [ <<string>> | <<counter>> ]+ ]?
9090
Initial: normal
9191
Applies To: all elements, tree-abiding pseudo-elements, and page margin boxes
9292
Inherited: no
@@ -167,7 +167,7 @@ Inserting and replacing content with the 'content' property</h2>
167167
Equal to:
168168

169169
<pre class=prod>
170-
[ <<string>> | contents | <<image>> | <<quote>> | <<target>> | <<leader()>> ]+
170+
[ <<string>> | contents | <<image>> | <<counter>> | <<quote>> | <<target>> | <<leader()>> ]+
171171
</pre>
172172

173173
Replaces the element's contents with one or more anonymous inline boxes
@@ -194,7 +194,7 @@ Inserting and replacing content with the 'content' property</h2>
194194
Note: If the value of <<content-list>> is a single <<image>>,
195195
it must instead be interpreted as a <<content-replacement>>.
196196

197-
<dt><dfn>/ <<string>></dfn>
197+
<dt><dfn>/ [ <<string>> | <<counter>> ]+</dfn>
198198
<dd>
199199
Specifies the "alt text" for the element.
200200
See [[#alt]] for details.

0 commit comments

Comments
 (0)