W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: Should MutationObservers be able to observe work done by the HTML parser?

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 3 Sep 2012 10:24:22 +0200
Message-ID: <CADnb78hMHbuQ=KJEzyuxQ_G7BG5OUw6+HFv3WcGQA4A75OMt4g@mail.gmail.com>
To: Jonas Sicking <jonas@sicking.cc>
Cc: Rafael Weinstein <rafaelw@chromium.org>, olli@pettay.fi, Ian Hickson <ian@hixie.ch>, Adam Klein <adamk@chromium.org>, Mihai Parparita <mihaip@chromium.org>, Ryosuke Niwa <rniwa@webkit.org>, WebApps WG <public-webapps@w3.org>
On Thu, Aug 30, 2012 at 2:18 PM, Jonas Sicking <jonas@sicking.cc> wrote:
> 1. We make sure to set all element attributes before inserting the
> element into the DOM. This to avoid sending notifications for
> attribute modifications. The element is inserted with the right set of
> attributes from the get-go.

That's not possible for e.g. <body>:

x<script>alert(document.body.id)</script><body id=test>


-- 
http://annevankesteren.nl/
Received on Monday, 3 September 2012 08:24:54 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:54 GMT