While debugging an unrelated issue, I want to make sure I understand how a browser is supposed to handle a declaration like
background-image: url(image0.jpg);
background-image: image-set(url(image1.jpg) 1x, url(image2.jpg) 2x);
I tried looking in the CSS specs for clarification but couldn't find anything specific.
Based on my testing, it seems that browsers will prioritize the first valid declaration they come across. However, I am seeking confirmation from an authoritative source - preferably a specification document. Please note that I'm not just asking about the expected behavior; I'm specifically interested in citing a credible source.