Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note which as values are supported for <link rel=preload> #7006

Merged
merged 3 commits into from
Mar 17, 2024

Conversation

tunetheweb
Copy link
Contributor

@tunetheweb tunetheweb commented Mar 15, 2024

Browsers do not support all as types in <link rel=preload>.

For Chromium see here: https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/third_party/blink/renderer/core/loader/preload_helper.cc#176

And here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload#browser_compatibility
image

However further testing browsers show ALL BROWSERS all only support a subset of values:
https://resource-loading-examples.glitch.me/preload-types.html

So made this a general comment at the top, rather than a flag for every browser.

@tunetheweb tunetheweb changed the title Note which as values are supported for <link rel=preload> Note which as values are supported for <link rel=preload> Mar 15, 2024
@tunetheweb
Copy link
Contributor Author

Have asked for the HTML spec to be updated: whatwg/html#8332 (comment)

And will also look at updating MDN which is also currently wrong.

@Fyrd Fyrd merged commit 40b87dd into Fyrd:main Mar 17, 2024
1 check passed
@Fyrd
Copy link
Owner

Fyrd commented Mar 17, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants