Bug 1404222 Part 9: Fix wpt reftest shape-image-025.html to make every frame of the animated GIF use a green box in the lower-left quadrant.
authorBrad Werth <bwerth@mozilla.com>
Fri, 23 Mar 2018 07:23:48 -0700
changeset 776871 491be7851cfc3e4959af6e22a1adf70d5f7bb168
parent 776870 1c17b43d22afbd5e25f6d29c9168f2316b36103b
child 776872 917f8c2a17daf42b40be516605cd0b4ed893b1d1
push id105022
push userdholbert@mozilla.com
push dateTue, 03 Apr 2018 21:03:05 +0000
bugs1404222
milestone61.0a1
Bug 1404222 Part 9: Fix wpt reftest shape-image-025.html to make every frame of the animated GIF use a green box in the lower-left quadrant. This test is designed to check that the float area is calculated from the first frame of an animated GIF. The reference rendering is a solid green square with the lower-left of the square supplied by the pixels in the GIF. Frame 2 of the GIF has white pixels in that quadrant. If layout is completed and onload is fired while frame 2 is showing, the test will fail even though the float area has been correctly calculated. This change puts green in the lower-left quadrant of all frames of the GIF so that the test is only testing the float area and not also testing that onload fires while a certain frame is showing. Note that this change doesn't impact the thoroughness of how we're testing shape-outside because it changes only the color of the pixels and not their opacity, and the float area is calculated from the alpha of the pixels. MozReview-Commit-ID: LTGlrgbxRyT
testing/web-platform/tests/css/css-shapes/shape-outside/shape-image/support/animated.gif
index 083c9a0a23df0815fe593540ea487ef36119ef4f..9e424df7cdfb6b228b18297334fba7cabdb270cd
GIT binary patch
literal 867
zc${<hbhEHbOkqf2SjfQe|Nnm=<3AWE{$$}4WME*>0b&M_JOk6ep8l1m=Q1pwv*nic
z+<P()`P+irr}cL%TYR$YRrj_{Y}fDi=zoiQ`tKmOTb=#F2``M<CR(cYcNV`}V7#(d
zYxA`Yy1G55KkYl9wy`V5X!!+|(w?)0-46;aJN9k7|B>%+@BIhuj1n3djwcc-I#w*W
zak%2q4kk_&OHav!O3#&+EtwZMKXOW0&5E>=;!0R`s_WOyS--j@xvfuEaz}d4KE0#+
z_Dd-p>zwE_)jVr7_xRk&`O_n_Hs@r_+Zx`vx_f<fGynF=uCqNC`|d5rJiU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