In order to make deferred insertions work while parsing, the tree builder needs to flush the deferred insertion queue before a script can touch the document tree in any way (including reading from it). The tree builder needs a notification that it can flush on. This notification could be triggered on *any* DOM API on the Document (probably too many possible places to keep track of) or on script getting executed in the context of the Document (causing some flushes that wouldn't strictly necessary).
The parser flushes ops on </script> and when returning from document.write().
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.