This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16294 - [Shadow]: Should ShadowRoot have style or be an Element?
Summary: [Shadow]: Should ShadowRoot have style or be an Element?
Status: RESOLVED WONTFIX
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
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

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.