[webcomponents] [Shadow]: Add [TreatNullAs=EmptyString] to ShadowRoot.innerHTML (bugzilla: 28549) (#74)

Title: [Shadow]: Add [TreatNullAs=EmptyString] to ShadowRoot.innerHTML (bugzilla: 28549)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28549

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28549#c0
*Philip Jägenstedt* wrote on 2015-04-23 14:51:48 +0000.

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
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28549#c1
*Anne* wrote on 2015-04-23 16:46:20 +0000.

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
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28549#c2
*Anne* wrote on 2015-04-23 21:27:39 +0000.

For DocumentFragment there would be no context element. (ShadowRoot uses the host element.)

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/74

Received on Monday, 25 May 2015 08:49:48 UTC