The available benchmarks as set by your code are:-
- width - 100% (so full width of the image is taken into consideration)
- "background repeat - x" - Image will repeat horizontally
Internally, say the width of the image be 250px & the width of your full browser screen be 1024px. So technically, the image will repeat horizontally at least 5 times, with 4 times in full size & the last one will be shown a little bit.
Now, if you resize the browser or view the same web page in a pop-up window, your browser screen is bound to have its width modified. Let's say that now your browser screen width is 220px. As the image width is greater than the browser screen width (in this particular test case), so the image will not repeat at all, & you will also not be able to see the full image.
It's not that there is any bug, it's just the logical part, which we need to understand.
Hope it helps.