Try to fix flakiness of fast/repaint/window-resize-background-image*.html
The flakiness may be because sometimes the test was started before the image is
loaded. Now start the test in onload.
Remove wrong baselines that were created based on wrong results when the
test failed on the bots.
BUG=
622898
Committed:
https://crrev.com/4642f6d990020c2d15902b0de97b0acc70defc51
Cr-Commit-Position: refs/heads/master@{#408795}