From 0159e56b3821b203c4d75b1a1a9921b604e49aa9 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Mon, 18 Nov 2013 17:24:21 -0800 Subject: [PATCH] Fixes https://github.com/Polymer/platform/issues/45 --- src/ShadowCSS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ShadowCSS.js b/src/ShadowCSS.js index fd8425d..a8dbfee 100644 --- a/src/ShadowCSS.js +++ b/src/ShadowCSS.js @@ -441,7 +441,7 @@ var ShadowCSS = { cssText += this.propertiesFromRule(rule) + '\n}\n\n'; } else if (rule.media) { cssText += '@media ' + rule.media.mediaText + ' {\n'; - cssText += this.scopeRules(rule.cssRules, name); + cssText += this.scopeRules(rule.cssRules, name, typeExtension); cssText += '\n}\n\n'; } else if (rule.cssText) { cssText += rule.cssText + '\n\n';