Re: DOM-Parsing innerHTML/outerHTML and namespaces

"Simon Pieters" <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]>
On Tue, 11 Nov 2014 22:55:20 +0100, Boris Zbarsky <[email protected]> wrote:

> On 11/11/14, 4:22 PM, Simon Pieters wrote:
>> "The adjusted current node is the context element if the stack of open
>> elements has only one element in it and the parser was created by the
>> HTML fragment parsing algorithm; otherwise, the adjusted current node is
>> the current node."
>
> Oh.  That's .... very action-at-a-distance.  :(  It would be nicer if  
> the context element were somehow stored on the parser at least...
>
> It's also slightly confusing in that it talks about stack of open  
> elements length being 1... but then doesn't use that one element on the  
> stack as the context element.

Filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=27314

-- 
Simon Pieters
Opera Software
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.