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

Parser incorrectly assigns unknown_namespace to attributes in some WPT tests #25049

Open
pshaughn opened this issue Dec 3, 2019 · 0 comments
Open

Comments

@pshaughn
Copy link
Member

@pshaughn pshaughn commented Dec 3, 2019

html/syntax/serializing-html-fragments/serializing.html ends up putting unknown-namespace: on svg elements; since SVG support generally doesn't exist, the parser doing the wrong thing on just SVG elements isn't necessarily unexpected.

html/syntax/serializing-html-fragments/template.html does it on a div that is namespaced as XML and is a child of a template element. If I'm following it correctly, the right thing here is to use HTML semantics because template-ness should override XML-ness. Root cause could be the same as #24925 (but there the template is on the inside of the XML instead of the outside, so not necessarily the same).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.