Describe how to do footnotes in tables. (whatwg r3345)

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.
 &lt;/aside&gt;</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>&lt;figure&gt;
+ &lt;legend&gt;Table 1. Alternative activities for knights.&lt;/legend&gt;
+ &lt;table&gt;
+  &lt;tr&gt;
+   &lt;th&gt; Activity
+   &lt;th&gt; Location
+   &lt;th&gt; Cost
+  &lt;tr&gt;
+   &lt;td&gt; Dance
+   &lt;td&gt; Wherever possible
+   &lt;td&gt; &pound;0&lt;sup&gt;&lt;a href="#fn1"&gt;1&lt;/a&gt;&lt;/sup&gt;
+  &lt;tr&gt;
+   &lt;td&gt; Routines, chorus scenes&lt;sup&gt;&lt;a href="#fn2"&gt;2&lt;/a&gt;&lt;/sup&gt;
+   &lt;td&gt; Undisclosed
+   &lt;td&gt; Undisclosed
+  &lt;tr&gt;
+   &lt;td&gt; Dining&lt;sup&gt;&lt;a href="#fn3"&gt;3&lt;/a&gt;&lt;/sup&gt;
+   &lt;td&gt; Camelot
+   &lt;td&gt; Cost of ham, jam, and spam&lt;sup&gt;&lt;a href="#fn4"&gt;4&lt;/a&gt;&lt;/sup&gt;
+ &lt;/table&gt;
+ &lt;p id="fn1"&gt;1. Assumed.&lt;/p&gt;
+ &lt;p id="fn2"&gt;2. Footwork impeccable.&lt;/p&gt;
+ &lt;p id="fn3"&gt;3. Quality described as "well".&lt;/p&gt;
+ &lt;p id="fn4"&gt;4. A lot.&lt;/p&gt;
+&lt;/figure&gt;</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