Closed t2ym closed 5 years ago
[ShadyDOM][Safari 9] textContent unexpectedly includes sibling comments
The issue is reproducible only with webcomponents-lite.js polyfill for Shadow DOM v1.
webcomponents-lite.js
<div id="target">test<!-- comment --></div>
document.querySelector('div#target').textContent === 'test comment ';
The test suites have been adjusted to detect the correct textContent in test-runner.js at version 0.0.69.
textContent
test-runner.js
This should be an issue of Shadow DOM v1 polyfill (ShadyDOM)
Close it as Safari 9 support will be dropped in 4.0
[ShadyDOM][Safari 9] textContent unexpectedly includes sibling comments
The issue is reproducible only with
webcomponents-lite.js
polyfill for Shadow DOM v1.The test suites have been adjusted to detect the correct
textContent
intest-runner.js
at version 0.0.69.