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

Update Safari imagesrcset and imagesizes #21586

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

tunetheweb
Copy link
Contributor

Summary

Responsive preloads (imagesrcset and imagesizes) was enabled in Safari 17.2 but was incorrectly marked as supported from Safari 13.

This was changed in #21267 due to this comment: #21267 (comment) but I'm not sure what that is based upon. It was behind a flag for a while, but wasn't enabled by default until 17.2 and MDN encourages removal of flag details after it goes to stable. @jdatapple @Elchi3 any comments here?

Test results and supporting details

WPT here shows it isn't enabled on stable (currently still 17.1): https://wpt.fyi/results/preload/link-header-preload-imagesrcset.html?label=stable&label=master&aligned

image

It is enabled in Safari Preview https://wpt.fyi/results/preload/link-header-preload-imagesrcset.html?label=experimental&label=master&aligned and is enabled in 17.2:
https://webkit.org/blog/14787/webkit-features-in-safari-17-2/

image

Related issues

Last updated in #21267

@github-actions github-actions bot added data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html 📄 Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML labels Dec 12, 2023
@jdatapple
Copy link
Contributor

It's true, I missed the flag in the code implemented back in 2019. The flag got enabled just recently, so this should, in fact, be 17.2.

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Great catch @tunetheweb and thanks for confirming @jdatapple 👍

@Elchi3 Elchi3 merged commit db49659 into mdn:main Dec 12, 2023
5 checks passed
@tunetheweb tunetheweb deleted the safari-imagesrcset branch December 12, 2023 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API 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.

3 participants