[Bug 18732] New: [Custom]: element upgrade algorithm does not preserve attributes, event listeners, references

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

           Summary: [Custom]: element upgrade algorithm does not preserve
                    attributes, event listeners, references
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
        AssignedTo: dglazkov@chromium.org
        ReportedBy: sorvell@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: sjmiles@chromium.org
            Blocks: 14968


The element upgrade algorithm does not transfer element attributes or existing
event listeners to the created element before the element is replaced in the
dom tree (section 5.2.4). Also because the node is replaced, any existing
reference to the un-upgraded element become stale. 

For these reasons, it may be better to morph the node in place, rather than
replacing it.

-- 
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 Wednesday, 29 August 2012 00:56:59 UTC