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

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Aug 2012 00:56:58 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-18732-2532@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 29 August 2012 00:56:59 GMT