-
Notifications
You must be signed in to change notification settings - Fork 690
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
[css-values-4][css-images-4][css-fonts-4] URL request modifiers #8222
Conversation
Co-authored-by: Tab Atkins Jr. <[email protected]>
Co-authored-by: Tab Atkins Jr. <[email protected]>
Co-authored-by: Tab Atkins Jr. <[email protected]>
Co-authored-by: Tab Atkins Jr. <[email protected]>
Co-authored-by: Tab Atkins Jr. <[email protected]>
Co-authored-by: Tab Atkins Jr. <[email protected]>
Thanks for the initial pass, @tabatkins... I was hoping bikeshed would run on the PR first but for some reason IPR check failed. |
@tabatkins ping ? |
Another ping @tabatkins ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two nits for linebreak formatting; each has a suggestion you can just accept. R+ after that!
nm, i can accept my own suggestions. |
Added a few URL modifiers to enable request parameters:
3 modifiers that correspond to
link
attributes:crossorigin
referrerpolicy
integrity
This enables CORS requests for CSS images, credentialed requests for fonts, and fine-tuning using integrity etc.
Example:
url("https://..." crossorigin(anonymous) integrity("shaX--something") referrerpolicy(same-origin))
See #1603