From 8243d57e4d2790d2a4973dd6445f1c71afac6923 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Mon, 4 Nov 2013 14:47:48 -0800 Subject: [PATCH] avoid < shadow > adjustments if running under ShadowDOM polyfill. --- src/declaration/prototype.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/declaration/prototype.js b/src/declaration/prototype.js index 7d811d27e7..4b7c9b9803 100644 --- a/src/declaration/prototype.js +++ b/src/declaration/prototype.js @@ -90,12 +90,16 @@ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22460 // make be adjustShadowElement: function() { - var content = this.templateContent(); - if (content) { - var s$ = content.querySelectorAll('shadow'); - for (var i=0, l=s$.length, s; (i