Bugzilla – Bug 117
Simplify error handling in the face of foster parenting: we are no longer worrying about when foster parenting content comes off the stack as far as errors go.
Last modified: 2008-03-07 14:41:54 CET
Index: source =================================================================== --- source (revision 1320) +++ source (revision 1321) @@ -40227,12 +40227,6 @@ <p>Otherwise:</p> - <p><span>Generate implied end tags</span>.</p> - - <p>Now, if the <span>current node</span> is not a - <code>table</code> element, then this is a <span>parse - error</span>.</p> - <p>Pop elements from this stack until a <code>table</code> element has been popped from the stack.</p> @@ -40293,9 +40287,7 @@ back to a table context</dfn>, it means that the UA must, while the <span>current node</span> is not a <code>table</code> element or an <code>html</code> element, pop elements from the - <span>stack of open elements</span>. If this causes any elements - to be popped from the stack, then this is a <span>parse - error</span>.</p> + <span>stack of open elements</span>.</p> <p class="note">The <span>current node</span> being an <code>html</code> element after this process is a <span>fragment @@ -40536,9 +40528,7 @@ while the <span>current node</span> is not a <code>tbody</code>, <code>tfoot</code>, <code>thead</code>, or <code>html</code> element, pop elements from the <span>stack of open - elements</span>. If this causes any elements to be popped from - the stack, then this is a - <span>parse error</span>.</p> + elements</span>.</p> <p class="note">The <span>current node</span> being an <code>html</code> element after this process is a <span>fragment @@ -40635,9 +40625,7 @@ back to a table row context</dfn>, it means that the UA must, while the <span>current node</span> is not a <code>tr</code> element or an <code>html</code> element, pop elements from the - <span>stack of open elements</span>. If this causes any elements - to be popped from the stack, then this is a <span>parse - error</span>.</p> + <span>stack of open elements</span>.</p> <p class="note">The <span>current node</span> being an <code>html</code> element after this process is a <span>fragment