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

investigate in a potential use of namespaces / qualified names #62

Open
lowlighter opened this issue Dec 20, 2024 · 0 comments
Open

investigate in a potential use of namespaces / qualified names #62

lowlighter opened this issue Dec 20, 2024 · 0 comments
Labels
scope: internal spec Spec definition for non-well defined behaviors

Comments

@lowlighter
Copy link
Owner

Scope

internal

What do you want to define?

There was a nice suggestion on HN where a mizu namespace could be used to (similar to how svg has its own namespace).

This would have the advatange:

  • Being able to write "valid html", and follows the standards
  • Possible to xpath in the namespace
  • Maybe also make it more readable or at least more explicit

The downside is that it's probably a bit longer, but it could be worked around by supporting both syntax (similar to vue having both shorthands and v- prefix)

It needs to be investigated though, xml does have namespaces, but it's not common to have same in html so I'm not even sure how the dom would treat them

I have searched for existing issues

Yes

@lowlighter lowlighter added the spec Spec definition for non-well defined behaviors label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: internal spec Spec definition for non-well defined behaviors
Projects
None yet
Development

No branches or pull requests

1 participant