Index: tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate |
index 696127bb3caad96eeee9be1c64ee42f0c47b35d3..f33436fc1ccc2c437096cc74b985619d65decc95 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate |
@@ -289,4 +289,14 @@ option[template] { |
}'''; |
document.head.append(style); |
} |
+ |
+ // An override to place the contents into content rather than as child nodes. |
Jennifer Messerly
2013/08/17 06:07:07
Perhaps link spec here?
https://dvcs.w3.org/hg/web
blois
2013/08/19 22:02:09
Done.
|
+ void setInnerHtml(String html, |
+ {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { |
+ text = null; |
+ var fragment = createFragment( |
+ html, validator: validator, treeSanitizer: treeSanitizer); |
+ |
+ content.append(fragment); |
+ } |
} |