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

registerElement() should be scoped to modules (bugzilla: 27835) #156

Closed
hayatoito opened this issue Jul 6, 2015 · 1 comment
Closed

Comments

@hayatoito
Copy link
Contributor

Title: registerElement() should be scoped to modules (bugzilla: 27835)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27835


comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27835#c0
Ian 'Hixie' Hickson wrote on 2015-01-14 23:31:00 +0000.

I'm not sure exactly how this should look, but we need to scope custom element registrations. Otherwise, importing two unrelated libraries will lead to their internals stomping on each other if they happen to register elements internally that use the same name, e.g. 'output' or something generic like that.


comment: 1
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=27835#c1
Boris Zbarsky wrote on 2015-01-15 01:06:05 +0000.

The hard part here is the interaction with parsing....

@annevk
Copy link
Collaborator

annevk commented Mar 11, 2016

This is basically #154 and why we require a hyphen.

@annevk annevk closed this as completed Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants