Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make wicg-inert work properly with strict CSP by allowing external stylesheet #148

Merged
merged 2 commits into from
May 13, 2020
Merged

Make wicg-inert work properly with strict CSP by allowing external stylesheet #148

merged 2 commits into from
May 13, 2020

Conversation

ClearlyClaire
Copy link
Contributor

wicg-inert currently relies on inserting an inline CSS stylesheet, which is
not possible with a Content Security Policy that does not include
unsafe-inline for the style-src directive.

This patch allows providing an external stylesheet with the content that
wicg-inert would dynamically insert.

…ylesheet

wicg-inert currently relies on inserting an inline CSS stylesheet, which is
not possible with a Content Security Policy that does not include
`unsafe-inline` for the `style-src` directive.

This patch allows providing an external stylesheet with the content that
wicg-inert would dynamically insert.
@robdodson
Copy link
Collaborator

This seems like a good change. Would you mind adding a note in the README explaining how to use this feature?

@ClearlyClaire
Copy link
Contributor Author

Done!

@robdodson robdodson merged commit be4b4a4 into WICG:master May 13, 2020
@robdodson
Copy link
Collaborator

nice, thank you! I have another PR in the works that I'd like to land and then I can push out a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants