Skip to content

Editorial: remove parent argument to remove #801

@annevk

Description

@annevk

A number of callers don't give it and callers do check for parent being non-null before calling. It seems we should assert it's non-null and then use that. I.e., turn the internal concept into being closer to child.remove() rather than parent.removeChild(child).

Bonus: clean up attribute removal in a similar fashion.

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