This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21063 - [Custom]: Element upgrade algorithm needs to be rewritten
Summary: [Custom]: Element upgrade algorithm needs to be rewritten
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
: 20489 20490 (view as bug list)
Depends on:
Blocks: 20684
  Show dependency treegraph
 
Reported: 2013-02-20 19:02 UTC by Dimitri Glazkov
Modified: 2013-02-26 21:10 UTC (History)
1 user (show)

See Also:


Attachments

Description Dimitri Glazkov 2013-02-20 19:02:04 UTC
The last iteration of the algorithm mutates the DOM tree (see bug 20490) and has  terminology issues (see bug 20489).

Given that in bug 20913 we're converging on the decision that guarantees that the platform object of a custom element is always instantiated properly, we can avoid DOM mutation and instead only update prototype chains when upgrading.
Comment 1 Dimitri Glazkov 2013-02-20 19:02:48 UTC
*** Bug 20489 has been marked as a duplicate of this bug. ***
Comment 2 Dimitri Glazkov 2013-02-20 19:04:18 UTC
*** Bug 20490 has been marked as a duplicate of this bug. ***
Comment 3 Dimitri Glazkov 2013-02-26 20:51:49 UTC
https://dvcs.w3.org/hg/webcomponents/rev/a6bb69c7284b
Comment 4 Dimitri Glazkov 2013-02-26 21:10:10 UTC
https://dvcs.w3.org/hg/webcomponents/rev/1e48e5c483c1