Skip to content

Commit d4cb518

Browse files
authored
Merge pull request #2920 from w3c/editorial/issue-2916
Move page list destination to an example
2 parents 51f4673 + 6365031 commit d4cb518

File tree

1 file changed

+62
-4
lines changed

1 file changed

+62
-4
lines changed

epub34/authoring/index.html

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6712,7 +6712,6 @@ <h4>Introduction</h4>
67126712
</div>
67136713
</section>
67146714

6715-
67166715
<section id="sec-fxl-content-dimensions" data-epubcheck="true"
67176716
data-tests="https://w3c.github.io/epub-structural-tests/#06-content-document_content-document-xhtml.feature_L457,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L212,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L217,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L222,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L227,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L233,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L239,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L245,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L251,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L257,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L263,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L269,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L275,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L283,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L297,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L303,https://w3c.github.io/epub-structural-tests/#08-layout_layout.feature_L309">
67186717
<h4>Fixed-layout document dimensions</h4>
@@ -7533,6 +7532,41 @@ <h4>The <code>toc nav</code> element </h4>
75337532
documents=].</p>
75347533
</li>
75357534
</ul>
7535+
7536+
<aside class="example" title="Simple table of contents">
7537+
<pre>&lt;nav epub:type="toc">
7538+
&lt;h2>Table of contents&lt;/h2>
7539+
&lt;ol>
7540+
&lt;li>&lt;a href="preface.html#p01">Preface&lt;/a>&lt;/li>
7541+
&lt;li>&lt;a href="chapter01.html#h01">Chapter 1&lt;/a>&lt;/li>
7542+
&lt;li>&lt;a href="chapter02.html#h02">Chapter 2&lt;/a>&lt;/li>
7543+
&#8230;
7544+
&lt;/ol>
7545+
&lt;/nav></pre>
7546+
</aside>
7547+
7548+
<aside class="example" title="Structured table of contents">
7549+
<pre>&lt;nav epub:type="toc">
7550+
&lt;h2>Table of contents&lt;/h2>
7551+
&lt;ol>
7552+
&lt;li>
7553+
&lt;a href="part01.html#p01">Part I&lt;/a>
7554+
&lt;ol>
7555+
&lt;li>
7556+
&lt;a href="section01.html#s01">Section 1&lt;/a>
7557+
&lt;ol>
7558+
&lt;li>&lt;a href="section01.html#s01-01">Section 1.1&lt;/a>&lt;/li>
7559+
&lt;li>&lt;a href="section01.html#s01-02">Section 1.2&lt;/a>&lt;/li>
7560+
&#8230;
7561+
&lt;/ol>
7562+
&lt;/li>
7563+
&#8230;
7564+
&lt;/ol>
7565+
&lt;/li>
7566+
&#8230;
7567+
&lt;/ol>
7568+
&lt;/nav></pre>
7569+
</aside>
75367570
</section>
75377571

75387572
<section id="sec-nav-pagelist" data-epubcheck="true"
@@ -7553,9 +7587,33 @@ <h4>The <code>page-list nav</code> element </h4>
75537587
<p>The <code>page-list nav</code> element SHOULD contain only a single <code>ol</code> descendant
75547588
(i.e., no nested sublists).</p>
75557589

7556-
<p>The destinations of the <code>page-list</code> references MAY be identified in their respective
7557-
[=EPUB content documents=] using the <a data-cite="epub-ssv-11/#pagebreak"
7558-
><code>pagebreak</code> term</a> [[epub-ssv-11]].</p>
7590+
<aside class="example" title="Page list with destination">
7591+
<p>Page list markup in the EPUB navigation document:</p>
7592+
7593+
<pre>&lt;nav epub:type="page-list">
7594+
&lt;h2>Page list&lt;/h2>
7595+
&lt;ol>
7596+
&lt;li>&lt;a href="chapter01.html#p001">1&lt;/a>&lt;/li>
7597+
&#8230;
7598+
&lt;/ol>
7599+
&lt;/nav></pre>
7600+
7601+
<p>The destination for the first page in <code>chapter01.html</code> identified by [[html]]
7602+
[^/role^] attribute value <a data-cite="dpub-aria#doc-pagebreak"
7603+
><code>doc-pagebreak</code></a> [[dpub-aria]] and the [^/epub:type^] value <a
7604+
data-cite="epub-ssv-11#pagebreak"><code>pagebreak</code></a> [[epub-ssv-11]]:</p>
7605+
7606+
<pre>&lt;html &#8230;>
7607+
&#8230;
7608+
&lt;body>
7609+
&lt;div epub:type="pagebreak" role="doc-pagebreak">1&lt;/div>
7610+
&#8230;
7611+
&lt;/body>
7612+
&lt;/html></pre>
7613+
7614+
<p>Refer to the <a href="#type-attr-syntax"><code>epub:type</code> attribute syntax</a> for more
7615+
information about the use of these attributes.</p>
7616+
</aside>
75597617
</section>
75607618

75617619
<section id="sec-nav-landmarks" data-epubcheck="true"

0 commit comments

Comments
 (0)