diff --git a/src/lib/base.html b/src/lib/base.html index d7d02c5e43..5c8ecc3aa0 100644 --- a/src/lib/base.html +++ b/src/lib/base.html @@ -54,7 +54,7 @@ proto._registerLazyFeatures(); } // registration extension point - this._doBehavior('registered'); + proto._doBehavior('registered'); } }, diff --git a/src/lib/style-util.html b/src/lib/style-util.html index b429e93b5e..16dc0c7fbe 100644 --- a/src/lib/style-util.html +++ b/src/lib/style-util.html @@ -99,7 +99,7 @@ // insert a comment node as a styling position placeholder. applyStylePlaceHolder: function(moniker) { - var placeHolder = document.createComment(' polymer element ' + + var placeHolder = document.createComment(' Shady DOM styles for ' + moniker + ' '); var after = this.__lastHeadApplyNode ? this.__lastHeadApplyNode.nextSibling : null; diff --git a/src/standard/styling.html b/src/standard/styling.html index 6e9cdaef64..13373fbded 100644 --- a/src/standard/styling.html +++ b/src/standard/styling.html @@ -70,10 +70,6 @@ // keep track of style when in document scope (polyfill) so we can // attach property styles after it. if (!nativeShadow) { - // remove old scope style (comment node) when it's not needed. - if (this._scopeStyle) { - this._scopeStyle.parentNode.removeChild(this._scopeStyle); - } this._scopeStyle = style; } }