diff --git a/lib/legacy/legacy-element-mixin.html b/lib/legacy/legacy-element-mixin.html index 8f67b81ee2..8df14be005 100644 --- a/lib/legacy/legacy-element-mixin.html +++ b/lib/legacy/legacy-element-mixin.html @@ -291,8 +291,9 @@ * template content. */ instanceTemplate(template) { + let content = this.constructor._contentForTemplate(template); let dom = /** @type {DocumentFragment} */ - (document.importNode(template._content || template.content, true)); + (document.importNode(content, true)); return dom; } diff --git a/lib/mixins/property-effects.html b/lib/mixins/property-effects.html index de11cd4df3..2de01ab393 100644 --- a/lib/mixins/property-effects.html +++ b/lib/mixins/property-effects.html @@ -646,106 +646,6 @@ applyBindingValue(inst, info.methodInfo, val); } - /** - * Post-processes template bindings (notes for short) provided by the - * Bindings library for use by the effects system: - * - Parses bindings for methods into method `signature` objects - * - Memoizes the root property for path bindings - * - Recurses into nested templates and processes those templates and - * extracts any host properties, which are set to the template's - * `_content._hostProps` - * - Adds bindings from the host to