• dominicc@chromium.org's avatar
    Separate Custom Element resolution and upgrade/createdCallback. · 44831aea
    dominicc@chromium.org authored
    r164309 made Custom Element resolution (searching for a Custom Element
    definition, and associating it with an element if there was a match)
    immediately start the upgrade process. This is infelicitous because it
    changed the timing of the createdCallback in some cases.
    
    r164309 added the useful idea of "resolution" as a distinct step that
    can be deferred. This change refines the integration of HTML Imports
    and Custom Elements callback timing by separating resolution and
    upgrade. Now HTML Imports can apply the brakes to resolution without
    affecting which upgrades happen as a batch.
    
    BUG=338135
    
    Review URL: https://codereview.chromium.org/144023016
    
    git-svn-id: svn://svn.chromium.org/blink/trunk@166280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
    44831aea
document-register-on-create-callback-expected.txt 193 Bytes