Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat a null elementNs in getPropertyType/geAtributeType as the HTML … #557

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

fred-wang
Copy link
Collaborator

@fred-wang fred-wang commented Oct 23, 2024

…namespace

This is the behavior that Chromium and WebKit currently implement, see https://phabricator.services.mozilla.com/D226547

Currently, it seems that the "interface for localName and elementNs" would fallback to Element, similarly to what happens with document.createElementNS(null, "div") for example.

Note that a null attrNs is already handled by the spec.

See also #553 for details.


Preview | Diff

…namespace

This is the behavior that Chromium and WebKit currently implement, see
https://phabricator.services.mozilla.com/D226547

Currently, it seems that the "interface for localName and elementNs"
would fallback to `Element`, similarly to what happens with
`document.createElementNS(null, "div")` for example.

Note that a null attrNs is already handled by the spec.

See also w3c#553 for details.
@fred-wang
Copy link
Collaborator Author

cc @lukewarlow @koto

@koto koto merged commit 3f3a848 into w3c:main Oct 28, 2024
3 checks passed
github-actions bot added a commit that referenced this pull request Oct 28, 2024
…namespace (#557)

SHA: 3f3a848
Reason: push, by koto

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@fred-wang fred-wang deleted the null-elementNs branch October 28, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants