Skip to content

https://dom.spec.whatwg.org/#dom-range-deletecontents may collapse the Range to an invalid position #1446

@smaug----

Description

@smaug----

What is the issue with the DOM Standard?

Step 9: For each node of nodesToRemove, in tree order: remove node.
may modify DOM
and then step 11 does just Set start and end to (newNode, newOffset).
and those newNode and newOffset were calculated before removal.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions