- From: Anne van Kesteren <annevk@opera.com>
- Date: Thu, 04 Jan 2007 02:10:40 +0100
On Thu, 04 Jan 2007 01:49:17 +0100, Ian Hickson <ian at hixie.ch> wrote: >> I was wondering what "If there's more than one node on the stack of open >> elements, or, if the parser was not originally created in order to >> handle the setting of an element's innerHTML attribute (innerHTML case) >> and the second node on the stack of open elements is not a body node, >> this is a parse error." exactly means. I came up with two variations: >> [...] > > Fixed. I think. The "Otherwise" doesn't make much sense since the previous paragraph didn't introduce a condition. How about: <p>If the parser was originally created in order to handle the setting of an element's <code title="dom-innerHTML-HTML">innerHTML</code> attribute, and there's more than one element in the <span>stack of open elements</span>, and the second node on the <span>stack of open elements</span> is not a <code>body</code> node, then this is a <span>parse error</span>. (<span><code>innerHTML</code> case</span>)</p> <p>Otherwise, if there are more than two nodes on the <span>stack of open elements</span>, or if there are two nodes but the second node is not a <code>body</code> node, this is a <span>parse error</span>.</p> -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Wednesday, 3 January 2007 17:10:40 UTC