Re: [csswg-drafts] [css-syntax-3][css-values-3][css-cascade-4][css-fonts-4] Formalize fetching and resource timing reporting (#6715)

Open-ish issues:

- The reusable method has two modes: "cors" and "no-cors". "cors" is used currently only for fonts. When "cors" is used, the referrer is set to the stylesheet's url rather than to the document's origin. I believe that this should be the general rule for anonymous cors style resources, if there are ever additional ones.

- Requires some new tests, especially for the referrer stuff, which is currently has different behaviors across browsers.

- Initial loading of the stylesheet (from `link` or `CSSOM`) is not handled in this PR, only style-originated resources.

- Not yet integrated with `[css-images]` and with SVG for `[css-shapes]`.

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/6715#issuecomment-934177559 using your GitHub account


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

Received on Tuesday, 5 October 2021 08:19:11 UTC