45b87aa23a
The HTML Living Standard explicitly says `href` should be omitted to prevent the loading of an incorrectly sized image: https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset ![image](https://user-images.githubusercontent.com/616428/103378205-8a013800-4aaf-11eb-9085-10f547263fed.png) Since it's in the spec, I assume this is valid-enough HTML. This also dedupes preloads which the old implementation did not. --- Fixes #18756 x-ref #19118 Fixes #18720 |
||
---|---|---|
.. | ||
.stats-app | ||
acceptance | ||
eslint-plugin-next | ||
integration | ||
isolated | ||
lib | ||
package-managers-tests/basic-pnpm | ||
unit | ||
.babelrc | ||
.gitignore | ||
jest-environment.js | ||
jest-global-setup.js | ||
jest-global-teardown.js | ||
jest-setup-after-env.js | ||
test-file.txt | ||
tsconfig.json |