Bug 1141387 - Set image.animation_mode=none to avoid the animated GIF is advanced to the next frame. r=heycam
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Fri, 29 Mar 2019 05:58:25 +0000
changeset 466730 4eb705fd67f69c8596331f06b9dbf4df078ff240
parent 466716 401af0fbedf390d4fdc42943a260e58462a740ea
child 466731 0e92cb061bb104f9448d0638bdf561f7e50c7ba4
push id112600
push useropoprus@mozilla.com
push dateFri, 29 Mar 2019 22:13:12 +0000
treeherdermozilla-inbound@2841d42bdf5d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1141387
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1141387 - Set image.animation_mode=none to avoid the animated GIF is advanced to the next frame. r=heycam 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