[Bug 22899] [Custom]: Consider changing the order of custom element upgrade

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

--- Comment #5 from Dominic Cooney <dominicc@chromium.org> ---
(In reply to comment #4)
> I don't think this needs to change the behavior of scripts. If we 'go' at
> the end tag, this seems to fit nicely:
> 
>   <x-a>             
>     <x-a-1><script></script></x-a-1>  1
>     <script></script>
>   </x-a>             2
>   <script></script>
>   <x-b>             
>     <x-b-1></x-b-1>  3
>   </x-b>             4

Upgrading one of these means running script (createdCallback) or at least
having script-visible effects (prototype). So we need to number the script tags
too. So you mean this should be:

4  <x-a>             
     <x-a-1>
1      <script></script>
2    </x-a-1>
3    <script></script>
   </x-a>
5  <script></script>
7  <x-b>             
6    <x-b-1></x-b-1>
   </x-b>

?

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

Received on Tuesday, 13 August 2013 00:02:32 UTC