Skip to content

Remove XML name validation from dataset named property setter #11439

@domenic

Description

@domenic

What is the issue with the HTML Standard?

https://html.spec.whatwg.org/multipage/dom.html#custom-data-attribute:~:text=If%20name%20does%20not%20match%20the%20XML%20Name%20production%2C%20throw%20an%20%22InvalidCharacterError%22%20DOMException.

If name does not match the XML Name production, throw an "InvalidCharacterError" DOMException.

We forgot to remove this when doing whatwg/dom#1079 and #7991. Since part of the goal there was to reduce the dependency on XML name validation code, we should also remove this.

I'll investigate what exactly the right fix is soon.

/cc @josepharhar

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy