@@ -164,7 +164,7 @@ Inserting and replacing content with the 'content' property</h2>
164
164
Equal to:
165
165
166
166
<pre class=prod>
167
- [ <<string>> | contents | <<image>> | <<quote>> | <<target>> | '' leader()'' ]+
167
+ [ <<string>> | contents | <<image>> | <<quote>> | <<target>> | << leader()>> ]+
168
168
</pre>
169
169
170
170
Replaces the element's contents with one or more anonymous inline boxes
@@ -378,7 +378,7 @@ Specifying quotes with the 'quotes' property</h4>
378
378
379
379
<pre class='propdef'>
380
380
Name : quotes
381
- Value : [ <<string>> <<string>> ]+ | none
381
+ Value : none | [ <<string>> <<string>> ]+
382
382
Initial : depends on user agent
383
383
Applies To : all elements
384
384
Inherited : yes
@@ -422,7 +422,7 @@ Specifying quotes with the 'quotes' property</h4>
422
422
The *-quote values of the content property</h4>
423
423
424
424
<pre class="prod">
425
- <dfn><<quote>></dfn> = [ open-quote | close-quote | no-open-quote | no-close-quote]
425
+ <dfn><<quote>></dfn> = open-quote | close-quote | no-open-quote | no-close-quote
426
426
</pre>
427
427
428
428
<dl dfn-for="content, <content-list> , <quote> " dfn-type=value>
@@ -601,7 +601,8 @@ The ''leader()'' function</h4>
601
601
</dl>
602
602
603
603
<pre class="prod">
604
- <dfn><<leader-type>></dfn> = leader( dotted | solid | space | <<string>> );
604
+ <dfn>leader()</dfn> = leader( <<leader-type>> )
605
+ <dfn><<leader-type>></dfn> = dotted | solid | space | <<string>>
605
606
</pre>
606
607
607
608
Three keywords are shorthand values for common strings:
@@ -758,7 +759,7 @@ Cross references and the target-* functions</h3>
758
759
Each of these displays information obtained from the target end of a link.
759
760
760
761
<pre class="prod">
761
- <dfn><<target>></dfn> = [ '' target-counter()'' | '' target-counters()'' | '' target-text()'' ]
762
+ <dfn><<target>></dfn> = << target-counter()>> | << target-counters()>> | << target-text()>>
762
763
</pre>
763
764
764
765
See sections below for details on each of these.
@@ -769,7 +770,7 @@ Cross references and the target-* functions</h3>
769
770
The ''target-counter()'' function</h4>
770
771
771
772
<pre class="prod">
772
- <dfn>target-counter()</dfn> = target-counter( [ <<string>> | <<url>> ] , <<custom-ident>> [ , <<counter-style>> ] ? )
773
+ <dfn>target-counter()</dfn> = target-counter( [ <<string>> | <<url>> ] , <<custom-ident>> , <<counter-style>> ? )
773
774
</pre>
774
775
775
776
The ''target-counter()'' function retrieves the value
@@ -851,7 +852,7 @@ The ''target-counters()'' function
851
852
and formats them by inserting a given string between the value of each nested counter.
852
853
853
854
<pre class="prod">
854
- <dfn>target-counters()</dfn> = target-counter ( [ <<string>> | <<url>> ] , <<custom-ident>> , <<string>> [ , <<counter-style>> ] ? )
855
+ <dfn>target-counters()</dfn> = target-counters ( [ <<string>> | <<url>> ] , <<custom-ident>> , <<string>> , <<counter-style>> ? )
855
856
</pre>
856
857
857
858
<div class="example">
@@ -871,7 +872,7 @@ The ''target-text()'' function</h4>
871
872
using the same values as the 'string-set' property above.
872
873
873
874
<pre class="prod">
874
- <dfn id="target-text-function">target-text()</dfn> = target-text( [ <<string>> | <<url>> ] [ , [ content | before | after | first-letter] ]? )
875
+ <dfn id="target-text-function">target-text()</dfn> = target-text( [ <<string>> | <<url>> ] , [ content | before | after | first-letter ]? )
875
876
</pre>
876
877
877
878
@@ -938,7 +939,7 @@ The string-set property</h4>
938
939
939
940
<pre class="propdef">
940
941
Name : string-set
941
- Value : [ <<custom-ident>> <<string>>+ ]# | none
942
+ Value : none | [ <<custom-ident>> <<string>>+ ]#
942
943
Initial : none
943
944
Applies to : all elements, but not pseudo-elements
944
945
Inherited : no
@@ -1087,7 +1088,7 @@ The ''string()'' function</h4>
1087
1088
The ''content()'' function</h4>
1088
1089
1089
1090
<pre class="prod">
1090
- <dfn>content()</dfn> = content( [text | before | after | first-letter | marker ]? )
1091
+ <dfn>content()</dfn> = content( [ text | before | after | first-letter | marker ]? )
1091
1092
</pre>
1092
1093
1093
1094
<dl dfn-type="value" dfn-for="content()">
0 commit comments