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

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 UTC