- From: tnikolai2 <notifications@github.com>
- Date: Thu, 08 Dec 2016 19:52:19 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 9 December 2016 03:52:53 UTC
for example :
HTML: `'<tag1>aa<tag2></tag2>bb</tag1>'`
in tag1.connectedCallback (at chrome native v1 implementation ) this.innerHTML contain only "aa"
and this.childNodes contain one text node "aa". `'<tag2></tag2>bb</tag1>'` appended only after component tag1 renderered.
If i do: tag1.connectedCallback(){ this.innerHTML='xx';}
result is `'<tag1>xx<tag2></tag2>bb</tag1>'`
So at chrome native v1 implementation at connectedCallback
if component contain nested components, innerHTML and childNodes contain only data before first inner component occurence.
at v0 and non-native v1 implementation innerHTML all time contain correct value `'aa<tag2></tag2>bb'`
What can do with this problem?
--
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/615
Received on Friday, 9 December 2016 03:52:53 UTC