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
QualName should have a prefix member #26
Comments
The main drawback is that it will make I'd actually like to intern common triples of (local name, namespace, prefix) as a single 64-bit word. The problem then is how to efficiently compare these while ignoring the prefix. Is it possible for a name in the HTML namespace to have a non-empty prefix? I don't think there's any way to express those in the HTML syntax, but I suppose it can be done in XHTML. |
Indeed not with HTML syntax, but anything is possible in XML syntax (XHTML) or through DOM manipulation. |
That said, such rare case don’t have to be fast as long as they’re correct. |
@kmcallister would this be considered an easy fix? |
Correction: the HTML parser does emit non-empty prefixes in some cases: https://html.spec.whatwg.org/multipage/#adjust-foreign-attributes |
Closing as |
There doesn't seem to be a good reason to omit that.
The text was updated successfully, but these errors were encountered: