diff --git a/lib/mixins/template-stamp.html b/lib/mixins/template-stamp.html
index da679f74..11472e16 100644
--- a/lib/mixins/template-stamp.html
+++ b/lib/mixins/template-stamp.html
@@ -16,7 +16,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
'use strict';
- const walker = document.createTreeWalker(document);
+ const walker = document.createTreeWalker(document, NodeFilter.SHOW_ALL,
+ null, false);
// 1.x backwards-compatible auto-wrapper for template type extensions
// This is a clear layering violation and gives favored-nation status to