[csswg-drafts] Pull Request: WIP: [css-values-4][css-images-4][css-values-4] URL request modifiers

noamr has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== WIP: [css-values-4][css-images-4][css-values-4] URL request modifiers ==
Added a few URL modifiers to enable request parameters:

3 modifiers that correspond to `link` attributes:
- [`crossorigin`](https://html.spec.whatwg.org/#attr-link-crossorigin)
- [`referrerpolicy`](https://html.spec.whatwg.org/#attr-link-referrerpolicy)
- [`integrity`](https://html.spec.whatwg.org/#attr-link-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


See https://github.com/w3c/csswg-drafts/pull/8222


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 14 December 2022 11:27:45 UTC