## Bug <!-- Please note that we are not accepting major feature requests, i.e. requests for new components, at this time. --> # Demo and steps to reproduce the issue [This blank StackBlitz demo](https://stackblitz.com/edit/angularjs-material-blank?file=app%2Fapp.template.html) can be used to create a reproduction that demonstrates your issue. **Demo URL (required)***: https://github.com/angular/material/pull/11390/files#diff-b71bb3e10759daf665e48e9bc558dc99R1324 #### Detailed Reproduction Steps 1. Update a project using CSP to the latest `HEAD`: - https://gitcdn.xyz/cdn/angular/bower-material/v1.1.22-master-08313be/angular-material.css - https://gitcdn.xyz/cdn/angular/bower-material/v1.1.22-master-08313be/angular-material.js Or install via NPM with `npm install https://github.com/angular/bower-material#master` 1. Load the project in a browser ### Explain the expected behavior - No new CSP violations. ### Explain the current behavior - New CSP violations due to `unsafe-inline` for `style-src`. ### Discuss the use-case or motivation for changing the existing behavior Support existing apps using a CSP for security. ### List the affected versions of AngularJS, Material, OS, and browsers <!-- Please note that only issues related to AngularJS 1.x and AngularJS Material 1.x should be submitted here. Please submit Angular Material and CDK questions [here](https://groups.google.com/forum/#!forum/angular-material2) and issues [here](https://github.com/angular/components/issues). --> - AngularJS: 1..8.0 - AngularJS Material: v1.1.22-master-08313be - OS: all - Browsers: Chrome ### Add anything else we should know This was introduced in PR https://github.com/angular/material/pull/11390. Related Chrome bug that can make the error a bit hard to understand: https://bugs.chromium.org/p/chromium/issues/detail?id=546106
Bug
Demo and steps to reproduce the issue
This blank StackBlitz demo can be used to create a reproduction that demonstrates your issue.
Demo URL (required)*: https://github.com/angular/material/pull/11390/files#diff-b71bb3e10759daf665e48e9bc558dc99R1324
Detailed Reproduction Steps
HEAD:Or install via NPM with
npm install https://github.com/angular/bower-material#masterExplain the expected behavior
Explain the current behavior
unsafe-inlineforstyle-src.Discuss the use-case or motivation for changing the existing behavior
Support existing apps using a CSP for security.
List the affected versions of AngularJS, Material, OS, and browsers
Add anything else we should know
This was introduced in PR #11390.
Related Chrome bug that can make the error a bit hard to understand:
https://bugs.chromium.org/p/chromium/issues/detail?id=546106