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

On Mon, Sep 3, 2012 at 8:45 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> On Mon, Sep 3, 2012 at 1:24 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
>> On Thu, Aug 30, 2012 at 2:18 PM, Jonas Sicking <jonas@sicking.cc> wrote:
>>> ...
>...
>
> But I'm also not very worried about small differences in
> implementations here as long as everyone maintains the invariants that
> mutation observers set out to hold. Pages can't depend on an exact set
> of mutations happening anyway due to the stochastic nature of parsing.
>

It concerns me to require consistent records for mutations "except in
parsing". While the batches of mutation records might be different
based on when the parser yields, the same records should still be
generated from parsing the same document in each browser. Especially
if you're following the HTML5 parser algorithm...

- E

Received on Wednesday, 5 September 2012 05:12:09 UTC