This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Here's a puzzler: ... var root = new ShadowRoot(someElement); root.appendChild(document.createTextNode('foo')); // Apply style to the text 'foo'. ... // o_O
We've contemplated around this for a long time, and we're staying with DocumentFragment.