Skip to content

Commit 3ef169e

Browse files
committed
[css-gcpm-3][editorial] Fix markup for <content-list>. #9404
1 parent ca36447 commit 3ef169e

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

css-gcpm-3/Overview.bs

+21-24
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Abstract: Books and other paged media often use special techniques to display in
1515
Previous Version: https://www.w3.org/TR/2014/WD-css-gcpm-3-20140513/
1616
Previous version: https://hg.csswg.org/drafts/raw-file/6a5c44d11c2b/css-gcpm/Overview.html
1717
Previous version: https://www.w3.org/TR/2011/WD-css3-gcpm-20111129/
18-
Ignored Terms: content-list,
18+
Ignored Terms:
1919
2020
2121
</pre>
@@ -68,30 +68,27 @@ Animation type: discrete
6868

6969
<p class=all-media>User agents are expected to support this property on all media, including non-visual ones.</p>
7070

71-
The 'string-set' property contains one or more pairs, each consisting of an custom identifier (the name of the named string) followed by a ''content-list'' describing how to construct the value of the named string.
71+
The 'string-set' property contains one or more pairs, each consisting of an custom identifier (the name of the named string) followed by a <<content-list>> describing how to construct the value of the named string.
7272

7373

74-
''content-list'' expands to one or more of the following values, in any order.
74+
<<content-list>> expands to one or more of the following values, in any order.
7575

7676
<pre class="prod">
77-
<dfn id="content-list">content-list</dfn> = [ &lt;string> | &lt;counter()> | &lt;counters()> | &lt;content()> | attr(&lt;identifier>) ]+
77+
<dfn id="content-list">&lt;content-list></dfn> = [ <<string>> | <<counter()>> | <<counters()>> | <<content()>> | <<attr()>> ]+
7878
</pre>
7979

8080

81-
<dl dfn-type="value" dfn-for="content-list">
82-
<dt> &lt;string> </dt>
83-
<dd> A <a href="https://www.w3.org/TR/CSS21/syndata.html#strings">string</a>, as defined in [[CSS21]] </dd>
84-
<dt> &lt;counter()> </dt>
85-
<dd> A <a href="https://www.w3.org/TR/CSS21/syndata.html#counter">counter()</a> function, as described in [[CSS21]].</dd>
86-
87-
<dt> &lt;counters()> </dt>
88-
<dd> A <a href="https://www.w3.org/TR/CSS21/syndata.html#counter">counters()</a> function, as described in [[CSS21]].</dd>
89-
90-
91-
<dt>content()</dt>
92-
<dd>The ''content()'' function, described below.</dd>
93-
<dt>attr(&lt;identifier>)</dt>
94-
<dd>Returns the string value of the attribute &lt;identifier>, as defined in [[CSS-VALUES-3]]</dd>
81+
<dl dfn-type="value" dfn-for="<content-list>">
82+
<dt><<string>>
83+
<dd>A <a href="https://www.w3.org/TR/CSS21/syndata.html#strings">string</a>, as defined in [[CSS21]]
84+
<dt><<counter()>>
85+
<dd>A <a href="https://www.w3.org/TR/CSS21/syndata.html#counter">counter()</a> function, as described in [[CSS21]].
86+
<dt><<counters()>>
87+
<dd>A <a href="https://www.w3.org/TR/CSS21/syndata.html#counter">counters()</a> function, as described in [[CSS21]].
88+
<dt><<content()>>
89+
<dd>The ''content()'' function, described below.
90+
<dt><<attr()>>
91+
<dd>An ''attr()'' function, as defined in [[CSS-VALUES-3]]
9592
</dl>
9693

9794
<h5 id="content-function-header">The ''content()'' function</h5>
@@ -200,15 +197,15 @@ h2 { string-set: heading content() }
200197
</pre>
201198
The following figures show the first, start, and last assignments of the “heading” string on various pages.
202199
<figure>
203-
<img src="images/using-strings-1.jpg" width="480" alt=""/>
200+
<img src="images/using-strings-1.jpg" width="480" alt="">
204201
<figcaption>The <a href="#string-start">start</a> value is empty, as the string had not yet been set at the start of the page.</figcaption>
205202
</figure>
206203
<figure>
207-
<img src="images/using-strings-2.jpg" width="480" alt=""/>
204+
<img src="images/using-strings-2.jpg" width="480" alt="">
208205
<figcaption>Since the page starts with an h2, the <a href="#string-start">start</a> value is the value of that head.</figcaption>
209206
</figure>
210207
<figure>
211-
<img src="images/using-strings-3.jpg" width="480" alt=""/>
208+
<img src="images/using-strings-3.jpg" width="480" alt="">
212209
<figcaption>Since there’s not an h2 at the top of this page, the <a href="#string-start">start</a> value is the ''exit value'' of the previous page.</figcaption>
213210
</figure>
214211

@@ -294,7 +291,7 @@ CSS:
294291
<figure>
295292

296293

297-
<img src="images/running-element-gcpm_Page_1.jpg" width="480" alt="running header using running elements"/>
294+
<img src="images/running-element-gcpm_Page_1.jpg" width="480" alt="running header using running elements">
298295
<figcaption>Running element in page margin box</figcaption>
299296
</figure>
300297
</div>
@@ -381,7 +378,7 @@ Footnotes are complex objects (see the <a href="https://www.w3.org/TR/2014/WD-dp
381378
<figure>
382379

383380

384-
<img src="images/footnote-diagram.001.jpg" width="480" alt="page with footnotes"/>
381+
<img src="images/footnote-diagram.001.jpg" width="480" alt="page with footnotes">
385382
<figcaption>Footnote terminology</figcaption>
386383
</figure>
387384

@@ -747,7 +744,7 @@ child {
747744
}
748745
</pre>
749746
<figure>
750-
<img src="images/PageGroups.001.jpg" width="480" alt=""/>
747+
<img src="images/PageGroups.001.jpg" width="480" alt="">
751748
<figcaption>A page may be part of several page groups.</figcaption>
752749
</figure>
753750
Note that page 5 can be selected in three ways:

0 commit comments

Comments
 (0)