Bug 16294 - [Shadow]: Should ShadowRoot have style or be an Element?
[Shadow]: Should ShadowRoot have style or be an Element?
Status: RESOLVED WONTFIX
Product: WebAppsWG
Classification: Unclassified
Component: Component Model
unspecified
PC All
: P2 normal
: ---
Assigned To: Dimitri Glazkov
public-webapps-bugzilla
:
Depends on:
Blocks: 15480
  Show dependency treegraph
 
Reported: 2012-03-09 22:47 UTC by Dimitri Glazkov
Modified: 2013-07-17 16:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri Glazkov 2012-03-09 22:47:57 UTC
Here's a puzzler:

...
var root = new ShadowRoot(someElement);
root.appendChild(document.createTextNode('foo'));
// Apply style to the text 'foo'.
...
// o_O
Comment 1 Dimitri Glazkov 2013-07-17 16:57:53 UTC
We've contemplated around this for a long time, and we're staying with DocumentFragment.