Re: should mutation observers be able to observe work done by the html parser
On Mon, Sep 16, 2013 at 11:53 AM, Rafael Weinstein rafa...@google.com wrote: However, mutation observers do fire, as required by the DOM specification. The parser builds up a DOM using the insertion algorithms. Those create mutation records, done. -- http://annevankesteren.nl/
Re: should mutation observers be able to observe work done by the html parser
was therw ever agreement on this old topic? http://lists.w3.org/Archives/Public/public-webapps/2012JulSep/0618.htmlwhether by de facto implementation or spec agreements? I am not seeing anything in the draft but maybe i am missing it...
Re: should mutation observers be able to observe work done by the html parser
Yup. Not sure where this is in W3C DOM, but 12.2.5.1 Creating and inserting nodes (http://www.whatwg.org/specs/web-apps/current-work/) ... DOM mutation events must not fire for changes caused by the UA parsing the document. This includes the parsing of any content inserted using document.write() and document.writeln() calls. [DOMEVENTS] However, mutation observers do fire, as required by the DOM specification. ... On Mon, Sep 16, 2013 at 8:13 AM, Brian Kardell bkard...@gmail.com wrote: was therw ever agreement on this old topic? http://lists.w3.org/Archives/Public/public-webapps/2012JulSep/0618.htmlwhether by de facto implementation or spec agreements? I am not seeing anything in the draft but maybe i am missing it...