Skip to content

"upgrade particular elements within a document" uses undefined "definition" #11222

@AtkinsSJ

Description

@AtkinsSJ

What is the issue with the HTML Standard?

"Upgrade particular elements within a document", step 2, uses a variable named definition:

For each element element of upgradeCandidates: enqueue a custom element upgrade reaction given element and definition.

However, there isn't a variable named definition in scope. Looks like there used to be when this step was part of the define() method steps.

I'm guessing it just needs passing in to the "upgrade particular elements..." algorithm.

@annevk

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: custom elementsRelates to custom elements (as defined in DOM and HTML)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions