Skip to content

Clarify create an element assertion #1338

Open
@annevk

Description

@domenic in create an element we have:

Assert: result’s custom element state and custom element definition are initialized.

Can we improve this by saying custom element definition is non-null? And custom element state is "custom"? I think that should hold after a successful constructor call.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions