# HG changeset patch # Parent 579086e8a5a510d8feb6785e9b01cd8fec399227 # User Scott Johnson Bug 666446: Test for animated images within a XUL tree. diff --git a/modules/libpr0n/test/mochitest/Makefile.in b/modules/libpr0n/test/mochitest/Makefile.in --- a/modules/libpr0n/test/mochitest/Makefile.in +++ b/modules/libpr0n/test/mochitest/Makefile.in @@ -102,15 +102,16 @@ _CHROME_FILES = imgutils.js \ animated-gif-frame2.gif \ animated-gif.gif \ test_svg_animatedGIF.html \ test_bullet_animation.html \ test_background_image_anim.html \ filter.svg \ filter2.svg \ test_svg_filter_animation.html \ + test_xultree_animation.xhtml \ $(NULL) libs:: $(_TEST_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir) libs:: $(_CHROME_FILES) $(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/chrome/$(relativesrcdir) diff --git a/modules/libpr0n/test/mochitest/test_xultree_animation.xhtml b/modules/libpr0n/test/mochitest/test_xultree_animation.xhtml new file mode 100644 --- /dev/null +++ b/modules/libpr0n/test/mochitest/test_xultree_animation.xhtml @@ -0,0 +1,68 @@ + + + + + Test for Bug 666446 - Animated Images within SVG Filters + + + + + + + + +Mozilla Bug 666446: lots of animated gifs swamp us with paint events + +

+
+ + +
+ + + + + + + + + + + + +
+ +
+
+
+ + diff --git a/modules/libpr0n/test/mochitest/test_xultree_animation.xul b/modules/libpr0n/test/mochitest/test_xultree_animation.xul new file mode 100644 --- /dev/null +++ b/modules/libpr0n/test/mochitest/test_xultree_animation.xul @@ -0,0 +1,35 @@ + + + + + + +