- From: Guillaume via GitHub <noreply@w3.org>
- Date: Sat, 18 Oct 2025 07:00:39 +0000
- To: public-css-archive@w3.org
In [*fetch an `@import`*](https://drafts.csswg.org/css-cascade-4/#fetch-an-import), the steps (2/5/6) that requires evaluating if *`response` is [not] CORS-same-origin* are confusing since `response` is CORS-same-origin if its type is either `basic`, `cors`, or `default`, and my understanding is that `response` type is always `opaque` since the request mode is always `no-cors`. This is consistent with Chrome and Firefox not giving access to the `.cssRules` of a same-origin `@import`-ed style sheet. This access depends on the origin flag, which is set at step 6 if *`response` is CORS-same-origin*. -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12288#issuecomment-3417919915 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 18 October 2025 07:00:40 UTC