[csswg-drafts] [css-values-4][css-images-4] Style resource fetching should probably use credential mode "include" in the default case (#12073)

weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4][css-images-4] Style resource fetching should probably use credential mode "include" in the default case ==
I was talking with @annevk, and he mentioned that he thought the "[fetch a style resource](https://www.w3.org/TR/css-values-4/#fetch-a-style-resource)" algorithm in CSS Values 4 should probably follow HTML (and at least what WebKit does) and use [credentials mode](https://fetch.spec.whatwg.org/#concept-request-credentials-mode) is "include" rather than "same-origin" as the default value.

This would better match HTML's "[create a potential-CORS request](https://html.spec.whatwg.org/multipage/urls-and-fetching.html#create-a-potential-cors-request )" algorithm used for most HTML Subresource fetching.

(@annevk, please correct anything I have wrong here).

cc @tabatkins, @fantasai

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12073 using your GitHub account


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

Received on Sunday, 13 April 2025 17:40:42 UTC