[html5] r5382 - [e] (0) new table example Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9943

whatwg at whatwg.org whatwg at whatwg.org
Fri Aug 27 16:59:57 PDT 2010


Author: ianh
Date: 2010-08-27 16:59:56 -0700 (Fri, 27 Aug 2010)
New Revision: 5382

Modified:
   complete.html
   index
   source
Log:
[e] (0) new table example
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9943

Modified: complete.html
===================================================================
--- complete.html	2010-08-27 23:14:51 UTC (rev 5381)
+++ complete.html	2010-08-27 23:59:56 UTC (rev 5382)
@@ -34412,7 +34412,41 @@
 
   </div>
 
+  <div class=example>
 
+   <p>Here is an example of a table being used to mark up a Sudoku
+   puzzle. Observe the lack of headers, which are not necessary in
+   such a table.</p>
+
+   <pre><section>
+ <style scoped>
+  table { border-collapse: collapse; border: solid thick }
+  colgroup, tbody { border: solid medium; }
+  td { border: solid thin; height: 1.4em; width: 1.4em; text-align: center; padding: 0; }
+ </style>
+ <h1>Today's Sudoku</h1>
+ <table>
+  <colgroup><col><col><col>
+  <colgroup><col><col><col>
+  <colgroup><col><col><col>
+  <tbody>
+   <tr> <td> 1 <td>   <td> 3 <td> 6 <td>   <td> 4 <td> 7 <td>   <td> 9
+   <tr> <td>   <td> 2 <td>   <td>   <td> 9 <td>   <td>   <td> 1 <td>
+   <tr> <td> 7 <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td> 6
+  <tbody>
+   <tr> <td> 2 <td>   <td> 4 <td>   <td> 3 <td>   <td> 9 <td>   <td> 8
+   <tr> <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td>
+   <tr> <td> 5 <td>   <td>   <td> 9 <td>   <td> 7 <td>   <td>   <td> 1
+  <tbody>
+   <tr> <td> 6 <td>   <td>   <td>   <td> 5 <td>   <td>   <td>   <td> 2
+   <tr> <td>   <td>   <td>   <td>   <td> 7 <td>   <td>   <td>   <td>
+   <tr> <td> 9 <td>   <td>   <td> 8 <td>   <td> 2 <td>   <td>   <td> 5
+ </table>
+</section></pre>
+
+  </div>
+
+
   <h4 id=the-caption-element><span class=secno>4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: index
===================================================================
--- index	2010-08-27 23:14:51 UTC (rev 5381)
+++ index	2010-08-27 23:59:56 UTC (rev 5382)
@@ -34337,7 +34337,41 @@
 
   </div>
 
+  <div class=example>
 
+   <p>Here is an example of a table being used to mark up a Sudoku
+   puzzle. Observe the lack of headers, which are not necessary in
+   such a table.</p>
+
+   <pre><section>
+ <style scoped>
+  table { border-collapse: collapse; border: solid thick }
+  colgroup, tbody { border: solid medium; }
+  td { border: solid thin; height: 1.4em; width: 1.4em; text-align: center; padding: 0; }
+ </style>
+ <h1>Today's Sudoku</h1>
+ <table>
+  <colgroup><col><col><col>
+  <colgroup><col><col><col>
+  <colgroup><col><col><col>
+  <tbody>
+   <tr> <td> 1 <td>   <td> 3 <td> 6 <td>   <td> 4 <td> 7 <td>   <td> 9
+   <tr> <td>   <td> 2 <td>   <td>   <td> 9 <td>   <td>   <td> 1 <td>
+   <tr> <td> 7 <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td> 6
+  <tbody>
+   <tr> <td> 2 <td>   <td> 4 <td>   <td> 3 <td>   <td> 9 <td>   <td> 8
+   <tr> <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td>
+   <tr> <td> 5 <td>   <td>   <td> 9 <td>   <td> 7 <td>   <td>   <td> 1
+  <tbody>
+   <tr> <td> 6 <td>   <td>   <td>   <td> 5 <td>   <td>   <td>   <td> 2
+   <tr> <td>   <td>   <td>   <td>   <td> 7 <td>   <td>   <td>   <td>
+   <tr> <td> 9 <td>   <td>   <td> 8 <td>   <td> 2 <td>   <td>   <td> 5
+ </table>
+</section></pre>
+
+  </div>
+
+
   <h4 id=the-caption-element><span class=secno>4.9.2 </span>The <dfn><code>caption</code></dfn> element</h4>
 
   <dl class=element><dt>Categories</dt>

Modified: source
===================================================================
--- source	2010-08-27 23:14:51 UTC (rev 5381)
+++ source	2010-08-27 23:59:56 UTC (rev 5382)
@@ -38020,7 +38020,41 @@
 
   </div>
 
+  <div class="example">
 
+   <p>Here is an example of a table being used to mark up a Sudoku
+   puzzle. Observe the lack of headers, which are not necessary in
+   such a table.</p>
+
+   <pre><section>
+ <style scoped>
+  table { border-collapse: collapse; border: solid thick }
+  colgroup, tbody { border: solid medium; }
+  td { border: solid thin; height: 1.4em; width: 1.4em; text-align: center; padding: 0; }
+ </style>
+ <h1>Today's Sudoku</h1>
+ <table>
+  <colgroup><col><col><col>
+  <colgroup><col><col><col>
+  <colgroup><col><col><col>
+  <tbody>
+   <tr> <td> 1 <td>   <td> 3 <td> 6 <td>   <td> 4 <td> 7 <td>   <td> 9
+   <tr> <td>   <td> 2 <td>   <td>   <td> 9 <td>   <td>   <td> 1 <td>
+   <tr> <td> 7 <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td> 6
+  <tbody>
+   <tr> <td> 2 <td>   <td> 4 <td>   <td> 3 <td>   <td> 9 <td>   <td> 8
+   <tr> <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td>   <td>
+   <tr> <td> 5 <td>   <td>   <td> 9 <td>   <td> 7 <td>   <td>   <td> 1
+  <tbody>
+   <tr> <td> 6 <td>   <td>   <td>   <td> 5 <td>   <td>   <td>   <td> 2
+   <tr> <td>   <td>   <td>   <td>   <td> 7 <td>   <td>   <td>   <td>
+   <tr> <td> 9 <td>   <td>   <td> 8 <td>   <td> 2 <td>   <td>   <td> 5
+ </table>
+</section></pre>
+
+  </div>
+
+
   <h4>The <dfn><code>caption</code></dfn> element</h4>
 
   <dl class="element">




More information about the Commit-Watchers mailing list