Bug 1141387 - Set image.animation_mode=none to avoid the animated GIF is advanced to the next frame. r=heycam, a=test-only
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 29 Mar 2019 05:58:25 +0000
changeset 525863 9174ce9e9471a036ee409eb674a1f26799be289a
parent 525862 0f095fa12e03248e1e1eef9e1f6a3624ff103887
child 525864 367e131a8231074f44f535557ebca9dfe4f43082
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam, test-only
bugs1141387
milestone67.0
Bug 1141387 - Set image.animation_mode=none to avoid the animated GIF is advanced to the next frame. r=heycam, a=test-only The animated GIF in background-blending-image-color-gif.html has two animation frames, the one is a red rectangle, the other is a green rectangle. The reftest is supposed to take the snapshot during the time where the animation frame is the red rectangle (the first frame) and the frame duration is 1000ms. So if we take over 1000ms there for some reasons, say on slow platforms, before taking the snapshot, the reftet fails. Differential Revision: https://phabricator.services.mozilla.com/D24843
layout/reftests/css-blending/reftest.list
--- a/layout/reftests/css-blending/reftest.list
+++ b/layout/reftests/css-blending/reftest.list
@@ -50,17 +50,17 @@ fuzzy(0-2,0-14400) == mix-blend-mode-chi
 == mix-blend-mode-dest-alpha-1135271.html mix-blend-mode-dest-alpha-1135271-ref.html
 == clipped-mixblendmode-containing-unclipped-stuff.html clipped-mixblendmode-containing-unclipped-stuff-ref.html
 fuzzy(0-1,0-6800) == clipped-opacity-containing-unclipped-mixblendmode.html clipped-opacity-containing-unclipped-mixblendmode-ref.html
 
 # Test plan 5.3.1 Blending between the background layers and the background color for an element with background-blend-mode
 # Test 9
 == background-blending-image-color-svg-as-data-uri.html background-blending-image-color-ref.html
 # Test 10
-== background-blending-image-color-gif.html background-blending-image-color-gif-ref.html
+test-pref(image.animation_mode,"none") == background-blending-image-color-gif.html background-blending-image-color-gif-ref.html
 == background-blending-image-color-transform3d.html background-blending-image-color-ref.html
 
 # Test plan 5.3.2 Background layers do not blend with content outside the background (or behind the element) - tests 2 and 3
 == background-blending-isolation-parent-child-color.html background-blending-isolation-parent-child-ref.html
 == background-blending-isolation-parent-child-image.html background-blending-isolation-parent-child-ref.html
 
 # Test plan 5.3.6 background-blend-mode for an element with background-position
 == background-blending-background-position-percentage.html background-blending-background-position-percentage-ref.html