W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > December 2012

[Bug 20485] New: [Custom]: Creation of custom elements via constructor function is underdefined

From: <bugzilla@jessica.w3.org>
Date: Fri, 21 Dec 2012 23:54:47 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-20485-2532@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20485

            Bug ID: 20485
           Summary: [Custom]: Creation of custom elements via constructor
                    function is underdefined
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: bzbarsky@mit.edu
        QA Contact: public-webapps-bugzilla@w3.org
            Blocks: 14968

Consider this script:


  var proto = { myProp: 1 };
  proto.__proto__ = HTMLElement.prototype;
  var fun = document.register("x-foo", { prototype: obj });

  var elem = new fun();
  alert(elem.localName);
  alert(elem.namespaceURI);

as far as I can tell, the specification does not define what those two alerts
should show.  It needs to do that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 21 December 2012 23:54:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:04:28 UTC