Skip to content

Mark link[as] Chrome support partial, with note#9578

Merged
ddbeck merged 2 commits intomdn:mainfrom
w3c:sideshowbarker/link-rel-preload-partial-support
Mar 25, 2021
Merged

Mark link[as] Chrome support partial, with note#9578
ddbeck merged 2 commits intomdn:mainfrom
w3c:sideshowbarker/link-rel-preload-partial-support

Conversation

@sideshowbarker
Copy link
Copy Markdown
Member

@sideshowbarker sideshowbarker commented Mar 24, 2021

https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/loader/preload_helper.cc;l=135 indicates Blink doesn’t yet support audio, video, document, embed, object, manifest, worker, sharedworker, audioworklet, paintworklet, report, or xslt as values for the as attribute.

So this change marks support in Chrome with partial_implementation:true, and a note listing the above as values as not supported.

Fixes #9577


This PR as currently scoped on updates the Chrome data for this.

I think Gecko and WebKit both also don’t support a number of of as values, but I’m not sure it’s as easy to identify which values they don’t support as it is for Chrome.

@github-actions github-actions Bot added the data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML label Mar 24, 2021
https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/loader/preload_helper.cc;l=135
indicates Blink doesn’t  yet support `audio`, `video`, `document`,
`embed`, `object`, `manifest`, `worker`, `sharedworker`, `audioworklet`,
`paintworklet`, `report`, or `xslt` as values for the `as` attribute.

So this change marks support in Chrome with partial_implementation:true,
and a note listing the above `as` values as not supported.

Fixes mdn#9577
@sideshowbarker sideshowbarker force-pushed the sideshowbarker/link-rel-preload-partial-support branch from ff419f7 to 50a724d Compare March 24, 2021 06:24
Base automatically changed from master to main March 24, 2021 12:54
Copy link
Copy Markdown
Contributor

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some ideas on how to improve these notes. Thank you, @sideshowbarker!

Comment thread html/elements/link.json Outdated
Co-authored-by: Daniel D. Beck <[email protected]>
@sideshowbarker sideshowbarker force-pushed the sideshowbarker/link-rel-preload-partial-support branch from e2946d8 to 8c32d9c Compare March 25, 2021 15:02
@sideshowbarker
Copy link
Copy Markdown
Member Author

Some ideas on how to improve these notes

@ddbeck Thanks much — committed those changes

Copy link
Copy Markdown
Contributor

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you! 🎉

@ddbeck ddbeck merged commit bc1875d into mdn:main Mar 25, 2021
@sideshowbarker sideshowbarker deleted the sideshowbarker/link-rel-preload-partial-support branch March 27, 2021 01:52
@tunetheweb tunetheweb mentioned this pull request Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with "Preloading content with rel="preload"": (link rel preload does not support 'as="audio"')

2 participants