- From: poot <cvsmail@w3.org>
- Date: Wed, 1 Jul 2009 11:23:37 +0900 (JST)
- To: public-html-diffs@w3.org
Describe how to do footnotes in tables. (whatwg r3345)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2483&r2=1.2484&f=h
http://html5.org/tools/web-apps-tracker?from=3344&to=3345
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2483
retrieving revision 1.2484
diff -u -d -r1.2483 -r1.2484
--- Overview.html 1 Jul 2009 01:49:41 -0000 1.2483
+++ Overview.html 1 Jul 2009 02:23:13 -0000 1.2484
@@ -14229,6 +14229,41 @@
Yalt has been publishing incompetently-written phrase books.
</aside></pre>
+ </div><p>For figures or tables, footnotes can be included in the relevant
+ <code><a href="#the-legend-element">legend</a></code> or <code><a href="#the-caption-element">caption</a></code> element, or in
+ surrounding prose.<div class="example">
+
+ <p>In this example, a <!-- round --> table has cells with footnotes
+ that are given in prose. A <code><a href="#the-figure-element">figure</a></code> element is used to
+ give a single legend to the combination of the table and its
+ footnotes.</p>
+
+ <pre><figure>
+ <legend>Table 1. Alternative activities for knights.</legend>
+ <table>
+ <tr>
+ <th> Activity
+ <th> Location
+ <th> Cost
+ <tr>
+ <td> Dance
+ <td> Wherever possible
+ <td> £0<sup><a href="#fn1">1</a></sup>
+ <tr>
+ <td> Routines, chorus scenes<sup><a href="#fn2">2</a></sup>
+ <td> Undisclosed
+ <td> Undisclosed
+ <tr>
+ <td> Dining<sup><a href="#fn3">3</a></sup>
+ <td> Camelot
+ <td> Cost of ham, jam, and spam<sup><a href="#fn4">4</a></sup>
+ </table>
+ <p id="fn1">1. Assumed.</p>
+ <p id="fn2">2. Footwork impeccable.</p>
+ <p id="fn3">3. Quality described as "well".</p>
+ <p id="fn4">4. A lot.</p>
+</figure></pre>
+
</div><h3 id="edits"><span class="secno">4.7 </span>Edits</h3><p>The <code><a href="#the-ins-element">ins</a></code> and <code><a href="#the-del-element">del</a></code> elements represent
edits to the document.<h4 id="the-ins-element"><span class="secno">4.7.1 </span>The <dfn><code>ins</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
<dd><a href="#flow-content-0">Flow content</a>.</dd>
Received on Wednesday, 1 July 2009 02:24:15 UTC