This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"document.createElement("x-fancybutton");" seems wrong, since then the element.localName would be "x-fancybutton", rather than "button".
The Custom Elements section is now demonstrates both one-argument and two-argument calls to createElement <https://dvcs.w3.org/hg/webcomponents/rev/68f5a748cf54>