Checks correct paint invalidation on image src change after a pending scroll.
Passes if there is no assert failure about pending scroll offsets in a debug build
(http://crbug.com/434950), and both the old location and new location of the img are
correctly invalidated.