Skip to content

Commit

Permalink
Remove scoping for controller styles since these styles are loosely s…
Browse files Browse the repository at this point in the history
…coped.
  • Loading branch information
sorvell committed Oct 14, 2013
1 parent 6f936e4 commit 13c8b2b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/instance/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,8 @@
if (cssText) {
var style = this.element.cssTextToScopeStyle(cssText,
STYLE_CONTROLLER_SCOPE);
// shim styling under ShadowDOMPolyfill
if (window.ShadowDOMPolyfill) {
Platform.ShadowCSS.shimPolyfillDirectives([style],
this.localName);
}
// TODO(sorvell): for now these styles are not shimmed
// but we may need to shim them
Polymer.applyStyleToScope(style, scope);
}
}
Expand Down

0 comments on commit 13c8b2b

Please sign in to comment.