Re: [w3c/webcomponents] The is="" attribute is confusing? Maybe we should encourage only ES6 class-based extension. (#509)

Here's how I understand the sequence of events that have to happen in order for this to work.
1) First the custom element polyfill has to load
2) The custom element definition has to load
3) The browser has to upgrade the `<script is="document-write">` elements
4) Then connect the elements triggering the `connectedCallback` event
5) The custom element code evaluates the js and creates the corresponding text node

In that sequence it does not matter whether the element is a `<inline-write>` element or a `script` element that gets upgraded to a `document-write` element.  The `connectedCallback` event code is the same in each case.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/509#issuecomment-261793978

Received on Sunday, 20 November 2016 18:05:04 UTC