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
Document-open.html -rw-r--r-- 2.0 KB
OWNERS -rw-r--r-- 5 bytes
addRange-00.html -rw-r--r-- 384 bytes
addRange-04.html -rw-r--r-- 384 bytes
addRange-08.html -rw-r--r-- 385 bytes
addRange-12.html -rw-r--r-- 386 bytes
addRange-16.html -rw-r--r-- 386 bytes
addRange-20.html -rw-r--r-- 386 bytes
addRange-24.html -rw-r--r-- 386 bytes
addRange-28.html -rw-r--r-- 386 bytes
addRange-32.html -rw-r--r-- 386 bytes
addRange-36.html -rw-r--r-- 386 bytes
addRange-40.html -rw-r--r-- 386 bytes
addRange-44.html -rw-r--r-- 386 bytes
addRange-48.html -rw-r--r-- 386 bytes
addRange-52.html -rw-r--r-- 386 bytes
addRange-56.html -rw-r--r-- 382 bytes
addRange.htm -rw-r--r-- 953 bytes
addRange.js -rw-r--r-- 10.6 KB
collapse-00.html -rw-r--r-- 385 bytes
collapse-15.html -rw-r--r-- 386 bytes
collapse-30.html -rw-r--r-- 382 bytes
collapse-45.html -rw-r--r-- 386 bytes
collapse.htm -rw-r--r-- 899 bytes
collapse.js -rw-r--r-- 4.1 KB
collapseToStartEnd.html -rw-r--r-- 5.4 KB
common.js -rw-r--r-- 38.1 KB
deleteFromDocument.html -rw-r--r-- 4.3 KB
dir-manual.html -rw-r--r-- 4.4 KB
extend-00.html -rw-r--r-- 393 bytes
extend-20.html -rw-r--r-- 394 bytes
extend-40.html -rw-r--r-- 390 bytes
extend.js -rw-r--r-- 7.1 KB
getRangeAt.html -rw-r--r-- 443 bytes
getSelection.html -rw-r--r-- 6.6 KB
interfaces.html -rw-r--r-- 1.2 KB
isCollapsed.html -rw-r--r-- 1.1 KB
removeAllRanges.html -rw-r--r-- 2.3 KB
removeRange.html -rw-r--r-- 1.8 KB
selectAllChildren.html -rw-r--r-- 2.6 KB
setBaseAndExtent.html -rw-r--r-- 5.3 KB
test-iframe.html -rw-r--r-- 1.1 KB
type.html -rw-r--r-- 918 bytes

back to top