diff --git a/src/mini/template.html b/src/mini/template.html
index d1e889841a..9f652bc387 100644
--- a/src/mini/template.html
+++ b/src/mini/template.html
@@ -33,6 +33,12 @@
'must not be a type-extension, found', this._template,
'Move inside simple .'));
}
+ // bootstrap the template if it has not already been
+ if (this._template && !this._template.content && HTMLTemplateElement.bootstrap) {
+ HTMLTemplateElement.decorate(this._template);
+ // recurse if necessary
+ HTMLTemplateElement.bootstrap(this._template.content);
+ }
},
_stampTemplate: function() {
@@ -60,4 +66,4 @@
});
-
\ No newline at end of file
+