Skip to content

Update parameter name for createDocumentType() from qualifiedName to name #39897

@Bashamega

Description

@Bashamega

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType

What specific section or headline is this issue about?

Syntax, Parameters

What information was incorrect, unhelpful, or incomplete?

The current MDN documentation lists the first parameter as qualifiedName, but according to the latest W3C Web IDL (via the WebRef repository), the correct parameter name is now name. Updating this will ensure consistency with the official specification and help avoid confusion for developers referencing the API.

What did you expect to see?

I expected it to be name

Do you have any supporting links, references, or citations?

https://github.com/w3c/webref/blob/aea18882d2c7a6b0617369be6faa20d8dea61110/ed/idl/dom.idl#L327

Do you have anything more you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:WebAPIWeb API docsaccepting PRFeel free to open a PR to resolve this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions