You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And if you forget that attribute then the browsers will download the font twice, which is a real footgun for developers (recent example: bluesky-social/social-app#6992).
Should browsers just automatically add crossorigin=anonymous for same-origin font preloads if the developer forgets to include it?
Are there any implications for this (e.g. if same origin resource redirects to a cross origin request)?
What is the issue with the HTML Standard?
It's weird that you have to do this for a sameorigin font preload:
AFAIK there is a never a use case for preloading a font without this
crossorigin
attribute (orcrossorigin=anonymous
which is equivalent).And if you forget that attribute then the browsers will download the font twice, which is a real footgun for developers (recent example: bluesky-social/social-app#6992).
Should browsers just automatically add
crossorigin=anonymous
for same-origin font preloads if the developer forgets to include it?Are there any implications for this (e.g. if same origin resource redirects to a cross origin request)?
See prior discussion here: w3c/preload#32.
CC: @noamr @yoavweiss
The text was updated successfully, but these errors were encountered: