Skip to content

lib.dom.ts incorrect return type for Document.elementFromPoint #14139

@sccolbert

Description

@sccolbert

According to:
https://drafts.csswg.org/cssom-view/#dom-document-elementfrompoint

Document.elementFromPoint should return Element | null. It currently returns Element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions