With IE11 and ShadyDOM for Polymer 1.x, textContent of child nodes are unexpectedly dropped on parent.innerHTML = ''
On the other hand, ShadyDOM for Polymer 2.x throws an exception on parent.innerHTML = '' if child nodes are implicitly removed from the parent node (Issue #14, #15).
Therefore, the timing of clearing up innerHTML has to be altered depending on the running ShadyDOM versions.
With IE11 and ShadyDOM for Polymer 1.x,
textContent
of child nodes are unexpectedly dropped onparent.innerHTML = ''
On the other hand, ShadyDOM for Polymer 2.x throws an exception on
parent.innerHTML = ''
if child nodes are implicitly removed from the parent node (Issue #14, #15).Therefore, the timing of clearing up
innerHTML
has to be altered depending on the running ShadyDOM versions.