Closed
Description
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.