diff --git a/lib/mixins/element-mixin.html b/lib/mixins/element-mixin.html
index 2b51ac2b..e2c7064c 100644
--- a/lib/mixins/element-mixin.html
+++ b/lib/mixins/element-mixin.html
@@ -270,6 +270,9 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
let template = /** @type {PolymerElementConstructor} */ (klass).template;
if (template) {
if (typeof template === 'string') {
+ // TODO(dan): Add link to docs explaining deprecation of string templates
+ console.warn('String templates are deprecated. ' +
+ `Please return a , or use Polymer.html\`\` for element <${klass.is}>`);
let t = document.createElement('template');
t.innerHTML = template;
template = t;
diff --git a/lib/utils/html-tag.html b/lib/utils/html-tag.html
new file mode 100644
index 00000000..77f2429f
--- /dev/null
+++ b/lib/utils/html-tag.html
@@ -0,0 +1,63 @@
+
+
+
\ No newline at end of file
diff --git a/polymer-element.html b/polymer-element.html
index 9b8f911a..aeb4a0e1 100644
--- a/polymer-element.html
+++ b/polymer-element.html
@@ -8,6 +8,8 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
+
+
\ No newline at end of file
diff --git a/polymer.html b/polymer.html
index 0331373c..28552fdb 100644
--- a/polymer.html
+++ b/polymer.html
@@ -19,7 +19,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
+
+
diff --git a/test/runner.html b/test/runner.html
index 2177dba9..a092dd24 100644
--- a/test/runner.html
+++ b/test/runner.html
@@ -75,6 +75,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
'unit/render-status.html',
'unit/dir.html',
'unit/shady-unscoped-style.html',
+ 'unit/html-tag.html'
// 'unit/multi-style.html'
];
@@ -115,7 +116,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
// ce + sd becomes a single test iteration.
matrix.push('wc-ce=true&wc-shadydom=true');
}
-
+
// economize testing by testing css shimming
// only against 1 environment (native or polyfill).
if (window.CSS && CSS.supports && CSS.supports('box-shadow', '0 0 0 var(--foo)')) {
diff --git a/test/smoke/html-tag.html b/test/smoke/html-tag.html
new file mode 100644
index 00000000..7f1ad95c
--- /dev/null
+++ b/test/smoke/html-tag.html
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/unit/html-tag.html b/test/unit/html-tag.html
new file mode 100644
index 00000000..3fa75bd5
--- /dev/null
+++ b/test/unit/html-tag.html
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file