Skip to content

[css-highlight-api] HighlightsFromPoint: Not dealing with invalid static ranges #12003

@jnjaeschke

Description

@jnjaeschke

The spec creates temporary ranges for StaticRanges because StaticRanges currently don't support getClientRect(). However, this step assumes that creating a temp range succeeds, and also does not cover the case where an underlying StaticRange may be invalid.

cc @ffiori @stephanieyzhang @smaug----

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions