Skip to content

Commit 83f025e

Browse files
authored
[css-gcpm-3] Simplify syntax definitions (w3c#5632)
1 parent afaa2bb commit 83f025e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-gcpm-3/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The 'string-set' property copies the text content of an element into a ''named s
5656

5757
<pre class="propdef">
5858
Name: <dfn id="string-set">string-set</dfn>
59-
Value: [[ <<custom-ident>> <<content-list>>] [, <<custom-ident>> <<content-list>>]* ] | none
59+
Value: [ <<custom-ident>> <<content-list>> ]# | none
6060
Initial: none
6161
Applies to: all elements, but not pseudo-elements
6262
Inherited: no
@@ -161,7 +161,7 @@ The value of the “header” string will be “Loomings”.
161161
The ''string()'' function is used to copy the value of a named string to the document, via the 'content' property. This function requires one argument, the name of the named string. Since the value of a named string may change several times on a page (as new instances of the element defining the string appear) an optional second argument indicates which value of the named string should be used.
162162

163163
<pre class="prod">
164-
<dfn>string()</dfn> = string( <<custom-ident>> [ , [ first | start | last | first-except] ]? )
164+
<dfn>string()</dfn> = string( <<custom-ident>> , [ first | start | last | first-except ]? )
165165
</pre>
166166

167167

@@ -366,7 +366,7 @@ Just as with ''string()'', ''element()'' takes an optional keyword to describe w
366366
</pre>
367367

368368
<pre class="prod">
369-
<dfn>element()</dfn> = element( <<custom-ident>> [ , [ first | start | last | first-except] ]? )
369+
<dfn>element()</dfn> = element( <<custom-ident>> , [ first | start | last | first-except ]? )
370370
</pre>
371371

372372
<h2 id="footnotes">

0 commit comments

Comments
 (0)