[Bug 17529] Inserting multiple script elements using a document fragment isn't specified properly

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

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #3 from Jonas Sicking <jonas@sicking.cc> 2012-06-19 23:27:42 UTC ---
We should absolutely not run scripts half-way through the mutation when a
fragment is inserted. That brings back all the same trouble we had with
mutation events.

The only sane thing, IMO, is to do all the mutations, and then do all actions
which needs to synchronously call out into Javascript, and then return to the
caller.

Anything else is both hellish to implement, and dramatically increases the
amount of edge cases that we need to define (where does insertion happen if
nodes are moved around half-way through the mutation, what happens if more
nodes are added to the fragment as nodes are moved out of it, what happens if a
child was removed from the fragment, but is inserted there again before the UA
inserts it at its new location, and so on)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 19 June 2012 23:27:45 UTC