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 16811 - [Explainer]: document.createElement seems to create a custom element
Summary: [Explainer]: document.createElement seems to create a custom element
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: Dominic Cooney
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14949
  Show dependency treegraph
 
Reported: 2012-04-20 17:33 UTC by Dimitri Glazkov
Modified: 2013-05-29 11:34 UTC (History)
1 user (show)

See Also:


Attachments

Description Dimitri Glazkov 2012-04-20 17:33:50 UTC
"document.createElement("x-fancybutton");"

seems wrong, since then the element.localName would be "x-fancybutton", rather than "button".
Comment 1 Dominic Cooney 2013-05-29 11:34:22 UTC
The Custom Elements section is now demonstrates both one-argument and two-argument calls to createElement

<https://dvcs.w3.org/hg/webcomponents/rev/68f5a748cf54>