rsnext/test/integration/image-component/default
Joe Haddad 45b87aa23a
feat(next/image): preload priority images (#20615)
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
2020-12-30 21:10:28 +00:00
..
pages feat(next/image): preload priority images (#20615) 2020-12-30 21:10:28 +00:00
public Rotate image from EXIF data (#18687) 2020-11-02 16:26:03 +00:00
test feat(next/image): preload priority images (#20615) 2020-12-30 21:10:28 +00:00