This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27835 - registerElement() should be scoped to modules
Summary: registerElement() should be scoped to modules
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14968 24578 25376
  Show dependency treegraph
 
Reported: 2015-01-14 23:31 UTC by Ian 'Hixie' Hickson
Modified: 2015-07-06 08:07 UTC (History)
4 users (show)

See Also:


Attachments

Description Ian 'Hixie' Hickson 2015-01-14 23:31:00 UTC
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 Boris Zbarsky 2015-01-15 01:06:05 UTC
The hard part here is the interaction with parsing....
Comment 2 Hayato Ito 2015-07-06 08:07:24 UTC
Moved to https://github.com/w3c/webcomponents/issues/156