For some unknown reasons, iPad Safari doesn't display a really long background image. In my example, the background image is 1,000 x 10,000 pixels. The same example works on any desktop browser e.g. Safari, Firefox, etc.
I am aware of the background-repeat
in CSS but unfortunately it isn't applicable in my specific case.