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 21220 - [Custom]: document.register() should not allow custom element name duplication
Summary: [Custom]: document.register() should not allow custom element name duplication
Status: RESOLVED FIXED
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: 18720
  Show dependency treegraph
 
Reported: 2013-03-08 08:49 UTC by Morrita Hajime
Modified: 2013-04-22 23:05 UTC (History)
0 users

See Also:


Attachments

Description Morrita Hajime 2013-03-08 08:49:24 UTC
Current document.register() definition [1] defines uniqueness based on
"TYPE and NAME and NAMESPACE", it allows custom elements which have
same TYPE(custom element name) but different NAME(local name)s.
This is confusing. It'd better to ensure TYPE uniqueness.

[1] https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#extensions-to-document-interface
Comment 1 Dimitri Glazkov 2013-04-22 23:01:00 UTC
You're right!
Comment 2 Dimitri Glazkov 2013-04-22 23:05:48 UTC
https://dvcs.w3.org/hg/webcomponents/rev/8f50c0722e63