Test for crbug.com/279445: createPattern should synchronously snapshot an animating image.
This test passes if there is a green square below.