Bugzilla – Bug 260
Now that <p> is dealt with after looking for an <li> element, make sure we don't stop at <p>. (bug: 5796) (credit: hs)
Last modified: 2008-07-22 17:41:43 CEST
Index: source =================================================================== --- source (revision 1830) +++ source (revision 1831) @@ -44658,9 +44658,9 @@ <li><p>If <var title="">node</var> is not in the <span>formatting</span> category, and is not in the <span>phrasing</span> category, and is not an - <code>address</code> or <code>div</code> element, then jump to - the last step.</p></li> <!-- an element <foo> is in this list if - the following markup: + <code>address</code>, <code>div</code>, or <code>p</code> + element, then jump to the last step.</p></li> <!-- an element + <foo> is in this list if the following markup: <!DOCTYPE html><body><ol><li><foo><li> @@ -44707,9 +44707,9 @@ <li><p>If <var title="">node</var> is not in the <span>formatting</span> category, and is not in the <span>phrasing</span> category, and is not an - <code>address</code> or <code>div</code> element, then jump to - the last step.</p></li> <!-- an element <foo> is in this list if - the following markup: + <code>address</code>, <code>div</code>, or <code>p</code> + element, then jump to the last step.</p></li> <!-- an element + <foo> is in this list if the following markup: <!DOCTYPE html><body><dl><dt><foo><dt>