Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
imagesrcset and imagesizes attributes on link rel=preload #329
I'm requesting a TAG review of:
Further details (optional):
You should also know that...
Two issues have been raised in the past discussions:
We'd prefer the TAG provide feedback as (please select one):
FYI, there is now an Intent to Ship: imagesrcset and imagesizes attributes on <link> on blink-dev.
The TL;DR is that the syntax is vastly different, which I think is reason enough to use a new attribute for. Overloading one attribute with two syntaxes usage of which depends on other attributes seems rather complex. It might be worth having some notes that point this out in the
Thanks for raising this issue!
In general, we're pretty happy with how this is looking given the existing patterns for preloading that already exist in the platform.
At the same time, we have a related set of larger concerns with preloading of resources containing other resources (e.g., style sheets, ES/WASM modules), as well as the disparate ways and techniques for pre-loading of various content. This is not something we expect you to address in your work, but something we'd like to see harmonized at some point in the future.
Again, we appreciate having the chance to review, and we hope you consider us in the future!