diff --git a/src/standard/x-styling.html b/src/standard/x-styling.html
index 8e0ef8ba00..6e9ab2113f 100644
--- a/src/standard/x-styling.html
+++ b/src/standard/x-styling.html
@@ -215,7 +215,7 @@
_scopeElementClass: function(element, selector) {
if (!nativeShadow && !this._scopeCssViaAttr) {
- selector += (selector ? ' ' : '') + SCOPE_NAME + ' ' + this.is +
+ selector = (selector ? selector + ' ' : '') + SCOPE_NAME + ' ' + this.is +
(element._scopeSelector ? ' ' + XSCOPE_NAME + ' ' +
element._scopeSelector : '');
}
diff --git a/test/unit/styling-scoped-elements.html b/test/unit/styling-scoped-elements.html
index 7b7850155f..d8e6288175 100644
--- a/test/unit/styling-scoped-elements.html
+++ b/test/unit/styling-scoped-elements.html
@@ -442,3 +442,12 @@
is: 'x-overriding'
});
+
+
diff --git a/test/unit/styling-scoped.html b/test/unit/styling-scoped.html
index 8a86a00516..86b242176d 100644
--- a/test/unit/styling-scoped.html
+++ b/test/unit/styling-scoped.html
@@ -51,6 +51,10 @@
+
+
+
+