Skip to content

Define timing of script execution in relation to DOM mutations better #1127

@annevk

Description

@annevk

See http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=4098.

I think this is most clearly demonstrated when inserting a DocumentFragment node, but maybe there are similar scenarios I don't know about. Basically, the elements are inserted first, one by one, and then executed, one by one. This requires looping over the inserted elements twice. Probably once with a "disable script flag" and once without.

@smaug---- might have some ideas around designing this in a different way.

This came out of review in #1100 which indicated that currently this is not really defined properly at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions