[Bug 17145] New: [Custom]: HTMLElementElement should have a generatedConstructor attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17145

           Summary: [Custom]: HTMLElementElement should have a
                    generatedConstructor attribute
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: dominicc@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
            Blocks: 14968


Per the explainer
<https://dvcs.w3.org/hg/webcomponents/raw-file/tip/explainer/index.html#using-custom-elements-in-script>
you need a way to refer to the constructor generated by a HTMLElementElement.

It is possible that the "constructor" attribute could do double duty for this,
just like

<input id="x" form="y">

produces

document.querySelector('#x').form => [object HTMLFormElement]

then HTMLElementElement.constructor could be typed to being a script object.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 22 May 2012 02:18:50 UTC