Skip to content

"look up a custom element registry" can be called with a DocumentFragment node #11227

Closed
@AtkinsSJ

Description

@AtkinsSJ

What is the issue with the HTML Standard?

"Look up a custom element registry" handles Elements, ShadowRoots, and Documents. But it can be called with a DocumentFragment. Specifically I'm seeing "create an element for the token" doing so, at step 6:

Let registry be the result of looking up a custom element registry given intended parent.

"Intended parent" here is a DocumentFragment, at least in some cases. (I haven't done an exhaustive search, I'm just getting crashes because of it. 😅) This doesn't have a custom element registry.

@annevk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions