Skip to content

Bug: appending a DocumentFragment returns false if fragment is empty #458

@g105b

Description

@g105b

This isn't how it works in the browser, so this is a bug with the underlying return value of appendChild.

If a DocumentFragment has no childNodes, and it's appended to another element, the call to DOMElement::appendChild returns false, when it should actually return the appended DocumentFragment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expectedgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions