Skip to content

StaticRange.getBoundingClientRect() #352

@fregante

Description

@fregante

I just found out about getComposedRange and how it solves an issue around retrieving text selected across shadow DOM elements.

However it seems that getBoundingClientRect is not present on this new class, while it existed on Range

Is there any way to get the rect of a selection inside a shadow root?

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