Only Opera downloads the image when you switch the display to
block. All other browsers
download it immediately.
When image has
display: none or is inside an element with
the browser may opt not to download the image until the
display is set
to another value.
This page contains two hidden images. If you saw two alerts when you entered the page your browser downloaded them immediately.
Open test1, a pure
Open test2, a
div containing an