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 28549 - [Shadow]: Add [TreatNullAs=EmptyString] to ShadowRoot.innerHTML
Summary: [Shadow]: Add [TreatNullAs=EmptyString] to ShadowRoot.innerHTML
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL: https://w3c.github.io/webcomponents/s...
Whiteboard:
Keywords:
Depends on:
Blocks: 28552
  Show dependency treegraph
 
Reported: 2015-04-23 14:51 UTC by Philip Jägenstedt
Modified: 2015-05-27 03:10 UTC (History)
4 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2015-04-23 14:51:48 UTC
This is how it's implemented in Blink, and it's consistent with Element.innerHTML:
https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-the-element-interface
Comment 1 Anne 2015-04-23 16:46:20 UTC
Is there a bug on moving innerHTML to DocumentFragment? Or was there a problem with that? It seems this kind of infrastructure method should not be restricted to ShadowRoot.
Comment 2 Anne 2015-04-23 21:27:39 UTC
For DocumentFragment there would be no context element. (ShadowRoot uses the host element.)
Comment 3 Hayato Ito 2015-05-27 03:10:07 UTC
Moved to https://github.com/w3c/webcomponents/issues/74