Skip to content

[cssom-view] Change document.caretPositionFromPoint's shadowRoots parameter from rest parameter to an array #10345

@siliu1

Description

@siliu1

The shadowRoots parameter is defined in the spec as a rest parameter of type ShadowRoot.

We should change it from rest parameter to a single array of shadow roots. Similar to https://html.spec.whatwg.org/#gethtmloptions. It'd be good to be consistent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions