- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 May 2025 08:44:56 +0000
- To: public-css-archive@w3.org
> Just wanted to point out another issue with the style sheet assumption here: > > https://www.w3.org/TR/css-values-4/#fetch-a-style-resource > > > 7. If sheet’s origin-clean flag is set, set req’s initiator type to "css". [CSSOM] > > If we don't have a style sheet, we still have to set an initiator type here. Otherwise, a `PerformanceResourceTiming` timing event won't be fired for this fetch request (the event is gated by spec prose which states "If fetchParams’s request’s initiator type is not null" in the [fetch finale](https://fetch.spec.whatwg.org/#fetch-finale)). > > WPT [has a test](https://wpt.live/css/fetching/fetch-resources.sub.html) which relies on this behavior. This was the original purpose of this line, to avoid exposing what resources external no-cors CSS downloads. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12065#issuecomment-2871518772 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 May 2025 08:44:57 UTC