There are no images on the Mozilla page, that's why it's 0
. The "images" you saw are loaded in CSS, while document.images
will only return a list of "images in the current HTML document."
If you try $("img").length
on that page, you will see that it is 0.
Quoting the original text from the W3C Recommentation:
A collection of all the
IMG
elements in a document. The behavior is limited toIMG
elements for backwards compatibility.