cssimagehtml-parsinghttprequestcss-parsing

Do browsers request images that have been overwritten in CSS?


Let's say I have CSS that looks like this:

#element {background-image: url("image1.png");}
#element {background-image: url("image2.png");}

Will the browser:


Solution

  • From some quick testing with Chrome and the Developer Tools:

    That said, other browsers may behave differently.