[html5] r1690 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri May 23 18:54:51 PDT 2008


Author: ianh
Date: 2008-05-23 18:54:50 -0700 (Fri, 23 May 2008)
New Revision: 1690

Modified:
   index
   source
Log:
[ct] (0) Make innerHTML on <td> and <th> work.

Modified: index
===================================================================
--- index	2008-05-24 00:19:50 UTC (rev 1689)
+++ index	2008-05-24 01:54:50 UTC (rev 1690)
@@ -42384,18 +42384,9 @@
     href="#stack">stack of open elements</a>.
 
    <li>If <var title="">node</var> is the first node in the stack of open
-    elements, then set <var title="">last</var> to true; if, in addition, the
-    <var title="">context</var> element of the <a href="#html-fragment0">HTML
-    fragment parsing algorithm</a> is neither a <code><a
-    href="#td">td</a></code> element nor a <code><a href="#th">th</a></code>
-    element, then set <var title="">node</var> to the <var
-    title="">context</var> element. (<a href="#fragment">fragment case</a>)</li>
-   <!-- XXX this fails to
-   actually set "node" to something useful in the <td> case, which we
-   want (either body (or nothing, to hit the last clause in this list)
-   or td/th; in the former case, remove the redundant 'fragment case'
-   bits in the 'in cell' section, in the latter case, check that
-   td.innerHTML = "<caption>" works as expected by browsers) -->
+    elements, then set <var title="">last</var> to true and set <var
+    title="">node</var> to the <var title="">context</var> element. (<a
+    href="#fragment">fragment case</a>)
 
    <li>If <var title="">node</var> is a <code>select</code> element, then
     switch the <span>insertion mode</span> to "<a href="#in-select"
@@ -42403,9 +42394,9 @@
     (<a href="#fragment">fragment case</a>)
 
    <li>If <var title="">node</var> is a <code><a href="#td">td</a></code> or
-    <code><a href="#th">th</a></code> element, then switch the
-    <span>insertion mode</span> to "<a href="#in-cell" title="insertion mode:
-    in cell">in cell</a>" and abort these steps.
+    <code><a href="#th">th</a></code> element and <var title="">last</var> is
+    false, then switch the <span>insertion mode</span> to "<a href="#in-cell"
+    title="insertion mode: in cell">in cell</a>" and abort these steps.
 
    <li>If <var title="">node</var> is a <code><a href="#tr">tr</a></code>
     element, then switch the <span>insertion mode</span> to "<a

Modified: source
===================================================================
--- source	2008-05-24 00:19:50 UTC (rev 1689)
+++ source	2008-05-24 01:54:50 UTC (rev 1690)
@@ -39983,17 +39983,9 @@
    <span>stack of open elements</span>.</li>
 
    <li>If <var title="">node</var> is the first node in the stack of
-   open elements, then set <var title="">last</var> to true; if, in
-   addition, the <var title="">context</var> element of the <span>HTML
-   fragment parsing algorithm</span> is neither a <code>td</code>
-   element nor a <code>th</code> element, then set <var
-   title="">node</var> to the <var title="">context</var>
-   element. (<span>fragment case</span>)</li> <!-- XXX this fails to
-   actually set "node" to something useful in the <td> case, which we
-   want (either body (or nothing, to hit the last clause in this list)
-   or td/th; in the former case, remove the redundant 'fragment case'
-   bits in the 'in cell' section, in the latter case, check that
-   td.innerHTML = "<caption>" works as expected by browsers) -->
+   open elements, then set <var title="">last</var> to true and set
+   <var title="">node</var> to the <var title="">context</var>
+   element. (<span>fragment case</span>)</li>
 
    <li>If <var title="">node</var> is a <code>select</code> element,
    then switch the <span>insertion mode</span> to "<span
@@ -40001,9 +39993,9 @@
    steps. (<span>fragment case</span>)</li>
 
    <li>If <var title="">node</var> is a <code>td</code> or
-   <code>th</code> element, then switch the <span>insertion
-   mode</span> to "<span title="insertion mode: in cell">in
-   cell</span>" and abort these steps.</li>
+   <code>th</code> element and <var title="">last</var> is false, then
+   switch the <span>insertion mode</span> to "<span title="insertion
+   mode: in cell">in cell</span>" and abort these steps.</li>
 
    <li>If <var title="">node</var> is a <code>tr</code> element, then
    switch the <span>insertion mode</span> to "<span title="insertion




More information about the Commit-Watchers mailing list