When a CSS
declaration contains a valid background-image
value, when will the image be downloaded? Are those images downloaded when the stylesheet is parsed or when the declaration is actually applied on a page?
In other words will I be downloading all the images mentioned in my stylesheet regardless of whether they will be used?
Additionally is there a specification that settles this (and if so is it respected) or is it left to the User-Agent?