Skip to content

Commit 90ae660

Browse files
committed
Add <nav> to table of contents markup
1 parent 89eb2e2 commit 90ae660

38 files changed

Lines changed: 825 additions & 799 deletions

css-2007/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
111111
href="http://www.w3.org/TR/CSS/">http://www.w3.org/TR/CSS/</a> as CSS
112112
advances.
113113

114+
<nav id="toc">
114115
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
115116
<!--begin-toc-->
116117

@@ -143,6 +144,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
143144
</ul>
144145
</ul>
145146
<!--end-toc-->
147+
</nav>
146148

147149
<h2 id=intro><span class=secno>1. </span>Introduction</h2>
148150

css-2007/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
5050
published at <a href="http://www.w3.org/TR/CSS/">http://www.w3.org/TR/CSS/</a>
5151
as CSS advances.
5252

53+
<nav id="toc">
5354
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
5455

5556
<!--toc-->
57+
</nav>
5658

5759
<h2 id="intro">Introduction</h2>
5860

css-2010/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
114114
href="http://www.w3.org/TR/CSS/">http://www.w3.org/TR/CSS/</a> as CSS
115115
advances.
116116

117+
<nav id="toc">
117118
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
118119
<!--begin-toc-->
119120

@@ -160,6 +161,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
160161
</ul>
161162
</ul>
162163
<!--end-toc-->
164+
</nav>
163165

164166
<h2 id=intro><span class=secno>1. </span>Introduction</h2>
165167

css-2010/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,11 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
5151
published at <a href="http://www.w3.org/TR/CSS/">http://www.w3.org/TR/CSS/</a>
5252
as CSS advances.
5353

54+
<nav id="toc">
5455
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
5556

5657
<!--toc-->
58+
</nav>
5759

5860
<h2 id="intro">Introduction</h2>
5961

css-backgrounds/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
185185
<p>The changes to this specification since the previous drafts are listed
186186
in the <a href="#changes">“Changes”</a> section.
187187

188+
<nav id="toc">
188189
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
189190
<!--begin-toc-->
190191

@@ -408,6 +409,7 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
408409
<li class=no-num><a href="#index">Index</a>
409410
</ul>
410411
<!--end-toc-->
412+
</nav>
411413

412414
<h2 id=introduction><span class=secno>1. </span>Introduction</h2>
413415

css-backgrounds/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ <h2 class="no-num no-toc" id="status">Status of this document</h2>
101101
<p>The changes to this specification since the previous drafts are
102102
listed in the <a href="#changes" >“Changes”</a> section.
103103

104+
<nav id="toc">
104105
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
105106
<!--toc-->
107+
</nav>
106108

107109
<h2 id="introduction">Introduction</h2>
108110

css-box/Overview.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ <h2 class="no-toc no-num">Status of this document</h2>
220220
<em>Please help us improve the next draft by pointing out such
221221
differences.</em>
222222

223+
<nav id="toc">
223224
<h2 class="no-num no-toc">Table of contents</h2>
224225
<!--begin-toc-->
225226

@@ -400,6 +401,7 @@ <h2 class="no-num no-toc">Table of contents</h2>
400401
<li class=no-num><a href="#property-index">Property index</a>
401402
</ul>
402403
<!--end-toc-->
404+
</nav>
403405

404406
<h2 id=how-to-read-this-specification><span class=secno>1. </span>How to
405407
read this specification</h2>

css-box/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,10 @@ <h2 class="no-toc no-num">Status of this document</h2>
177177
or float displacement. <em>Please help us improve the next draft by
178178
pointing out such differences.</em>
179179

180+
<nav id="toc">
180181
<h2 class="no-num no-toc">Table of contents</h2>
181182
<!--toc-->
183+
</nav>
182184

183185

184186

css-color-3/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ <h2 class="no-num no-toc" id=status>Status of This Document</h2>
221221
<p>A complete <a href="#changes">list of changes</a> to this document is
222222
available.
223223

224-
<h2 class="no-num no-toc" id=contents>Table of Contents</h2>
224+
<nav id="toc">
225+
<h2 class="no-num no-toc" id=contents>Table of contents</h2>
225226
<!--begin-toc-->
226227

227228
<ul class=toc>
@@ -314,6 +315,7 @@ <h2 class="no-num no-toc" id=contents>Table of Contents</h2>
314315
<li class=no-num><a href="#property">Property index</a>
315316
</ul>
316317
<!--end-toc-->
318+
</nav>
317319

318320
<hr>
319321

css-color-3/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,10 @@ <h2 class="no-num no-toc" id="status">Status of This Document</h2>
146146
to this document is available.
147147
</p>
148148

149+
<nav id="toc">
149150
<h2 class="no-num no-toc" id="contents">Table of Contents</h2>
150151
<!--toc-->
152+
</nav>
151153

152154
<hr>
153155

0 commit comments

Comments
 (0)