Skip to content

the steps of Selection.setBaseAndExtent() do not check the node type #354

@masayuki-nakano

Description

@masayuki-nakano

collapse() method check has this check:

If node is a DocumentType, throw an InvalidNodeTypeError exception and abort these steps.

However, setBaseAndExtent() method does not have it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions