Revision 64da316928b38f3dbd2231dbfb0f7f776170a106 authored by Brad Werth on 11 April 2018, 09:35:18 UTC, committed by moz-wptsync-bot on 11 April 2018, 09:35:18 UTC
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.
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1404222
gecko-commit: 491be7851cfc3e4959af6e22a1adf70d5f7bb168
gecko-integration-branch: central
1 parent a4e013a
History
File Mode Size
resources
OWNERS -rw-r--r-- 27 bytes
bounding-box.html -rw-r--r-- 1.6 KB
client-rect.html -rw-r--r-- 1.3 KB
containing-block.html -rw-r--r-- 2.0 KB
cross-origin-iframe.html -rw-r--r-- 1.6 KB
disconnect.html -rw-r--r-- 1.3 KB
display-none.html -rw-r--r-- 1.6 KB
edge-inclusive-intersection.html -rw-r--r-- 1.9 KB
iframe-no-root.html -rw-r--r-- 2.1 KB
multiple-targets.html -rw-r--r-- 2.6 KB
multiple-thresholds.html -rw-r--r-- 3.1 KB
observer-attributes.html -rw-r--r-- 1.1 KB
observer-exceptions.html -rw-r--r-- 1.9 KB
observer-in-iframe.html -rw-r--r-- 209 bytes
observer-without-js-reference.html -rw-r--r-- 1.2 KB
remove-element.html -rw-r--r-- 2.2 KB
root-margin.html -rw-r--r-- 2.6 KB
same-document-no-root.html -rw-r--r-- 1.7 KB
same-document-root.html -rw-r--r-- 2.6 KB
same-document-zero-size-target.html -rw-r--r-- 1.6 KB
shadow-content.html -rw-r--r-- 1.3 KB
timestamp.html -rw-r--r-- 3.8 KB
unclipped-root.html -rw-r--r-- 1.5 KB
zero-area-element-hidden.html -rw-r--r-- 1.1 KB
zero-area-element-visible.html -rw-r--r-- 1.1 KB

back to top