Skip to content

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

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

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions