diff --git a/src/standard/styling.html b/src/standard/styling.html index 3fdec1ab2f..60fb7ce910 100644 --- a/src/standard/styling.html +++ b/src/standard/styling.html @@ -63,7 +63,7 @@ // only if no custom properties are used since otherwise // styles are applied via property shimming. if (!this._needsStyleProperties() && this._styles.length) { - var style = styleUtil.applyCss(cssText, this.is, + styleUtil.applyCss(cssText, this.is, nativeShadow ? this._template.content : null, this._scopeStyle); } } else { diff --git a/test/unit/base.html b/test/unit/base.html index 9fc827d591..233ef35c81 100644 --- a/test/unit/base.html +++ b/test/unit/base.html @@ -23,14 +23,14 @@