Skip to content

the steps of Selection.extend() does not check whether the given offset is valid in the container #353

@masayuki-nakano

Description

@masayuki-nakano

The collapse() method section has the following:

The method must throw an IndexSizeError exception if offset is longer than node's length and abort these steps.

However, the extend() method section does not have the corresponding step.

I think that the check should be done before or after the 2nd step.

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