Created attachment 398848 [details]
Minimal test case
To reproduce: Open the attached template-img-srcset.html file in Safari on a 2x DPR or higher display.
Expected: Both images load the same URL.
Actual: The first image loads the correct URL. The second image (cloned from a <template>) incorrectly loads the first URL from its srcset.
Created attachment 398849 [details]
Screenshot of test case
Created attachment 398853 [details]
Does not occur in Firefox or Chrome (top). Does occur in Safari and Safari Technology Preview (bottom).