Skip to content

Add support for Element.firstElementChild property #328

Description

@piranna

https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild

The Element.firstElementChild read-only property returns an element's first child Element, or null if there are no child elements.

Element.firstElementChild includes only element nodes. xmldom only implements Node.firstChild, that return all the child nodes, including non-element nodes like text and comment nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help-wantedExternal contributions welcomespec:HTMLtypesAnything regarding Typescript

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions