[Bug 21485] [Custom]: Consider possible candidates of element upgrade

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

--- Comment #10 from Scott Miles <sjmiles@chromium.org> ---
Wrt outOfDocument element, I realize I'm not clear on the state of elements in
'imported' documents, and elements inside of <template>.

It's standard procedure for us to do things like this:

<template>
  <x-custom></x-custom>
</template>
<script>
  otherDom.appendChild(template.createInstance());
</script>

At what point is x-custom upgraded? 

Additionally, what if the above code is in an 'imported' document (<link
rel='import'>)?

I realize our polyfill(s) don't handle this at all, and our sugaring layer
specifically upgrades all custom elements after they are instanced from a
template. Seems like I sidestepped this problem in my own thinking.

Scott

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 1 April 2013 18:10:59 UTC