NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 158 - Make <caption> processing more resilient to errors.
Make <caption> processing more resilient to errors.
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-20 21:23 CEST by Nobody
Modified: 2008-04-21 10:51 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-04-20 21:23:39 CEST
Index: source
===================================================================
--- source	(revision 1392)
+++ source	(revision 1393)
@@ -17755,6 +17755,15 @@
 
    <li>
 
+    <p>Associate the first <code>caption</code> element child of the
+    <code>table</code> element with <var title="">the table</var>. If
+    there are no such children, then it has no associated
+    <code>caption</code> element.</p>
+
+   </li>
+
+   <li>
+
     <p>Let the <var title="">current element</var> be the first
     element child of the <code>table</code> element.</p>
 
@@ -17776,35 +17785,6 @@
     <code>table</code>:</p>
 
     <ul class="brief">
-     <li><code>caption</code></li>
-     <li><code>colgroup</code></li>
-     <li><code>thead</code></li>
-     <li><code>tbody</code></li>
-     <li><code>tfoot</code></li>
-     <li><code>tr</code></li>
-    </ul>
-
-   </li>
-
-   <li>
-
-    <p>If the <var title="">current element</var> is a
-    <code>caption</code>, then that is the <code>caption</code>
-    element associated with <var title="">the table</var>. Otherwise,
-    it has no associated <code>caption</code> element.</p>
-
-   </li>
-
-   <li>
-
-    <p>If the <var title="">current element</var> is a
-    <code>caption</code>, then while the <var title="">current
-    element</var> is not one of the following elements, <span
-    title="concept-table-advance">advance</span> the <var
-    title="">current element</var> to the next child of the
-    <code>table</code>:</p>
-
-    <ul class="brief">
      <li><code>colgroup</code></li>
      <li><code>thead</code></li>
      <li><code>tbody</code></li>
@@ -17812,9 +17792,6 @@
      <li><code>tr</code></li>
     </ul>
 
-    <p>(Otherwise, the <var title="">current element</var> will
-    already be one of those elements.)</p>
-
    </li>
 
    <li>
@@ -43277,13 +43254,13 @@
   Keeney, Daniel Glazman, Daniel Peng, Daniel Sp&aring;ng, Darin
   Alder, Darin Fisher, Dave Singer, Dave Townsend<!-- Mossop on moz
   irc -->, David Baron, David Flanagan, David H&aring;s&auml;ther,
-  David Hyatt, Derek Featherstone, DeWitt Clinton, Dimitri Glazkov,
-  dolphinling, Doron Rosenberg, Doug Kramer, Eira Monstad, Elliotte
-  Harold, Erik Arvidsson, Evan Martin, fantasai, Franck 'Shift'
-  Qu&eacute;lain, Garrett Smith, Geoffrey Sneddon, H&aring;kon Wium
-  Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh Winkler, Ignacio
-  Javier, Ivo Emanuel Gon&ccedil;alves, J. King, James Graham, James M
-  Snell, James Perrett, Jan-Klaas Kollhof, Jason White, Jasper
+  David Hyatt, Debi Orton, Derek Featherstone, DeWitt Clinton, Dimitri
+  Glazkov, dolphinling, Doron Rosenberg, Doug Kramer, Eira Monstad,
+  Elliotte Harold, Erik Arvidsson, Evan Martin, fantasai, Franck
+  'Shift' Qu&eacute;lain, Garrett Smith, Geoffrey Sneddon, H&aring;kon
+  Wium Lie, Henri Sivonen, Henrik Lied, Henry Mason, Hugh Winkler,
+  Ignacio Javier, Ivo Emanuel Gon&ccedil;alves, J. King, James Graham,
+  James M Snell, James Perrett, Jan-Klaas Kollhof, Jason White, Jasper
   Bryant-Greene, Jeff Cutsinger, Jeff Walden, Jens Bannmann, Jens
   Fendler, Jeroen van der Meer, Jim Meehan, Joe Clark, Joel Spolsky,
   John Boyer, John Bussjaeger, John Harding, Johnny Stenback, Jon