Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Qt] Non animated gifs are animated in QtWebKit
https://bugs.webkit.org/show_bug.cgi?id=35955 Properly map Qt animated and non-animated values to WebCore's understanding of animated and non-animated images. Currently we can not map anything to the cAnimationLoopNone value. * manual-tests/qt/qt-anim.gif: Added. * manual-tests/qt/qt-gif-test.html: Added. * manual-tests/qt/qt-noanim.gif: Added. * platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoderQt::repetitionCount): Canonical link: https://commits.webkit.org/47069@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@55774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BIN
+1.62 KB
WebCore/manual-tests/qt/qt-anim.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,12 @@ | ||
<html> | ||
<body> | ||
<div> | ||
<img src="qt-anim.gif"> | ||
<p>This should animate</p> | ||
</div> | ||
<div> | ||
<img src="qt-noanim.gif"> | ||
<p>This should not animate and you should see a cross</p> | ||
</div | ||
</body> | ||
</html> |
BIN
+1.6 KB
WebCore/manual-tests/qt/qt-noanim.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters