mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Before this change, IDAT data was mistakenly always included in the animation. Now we only include frames with explicit fcTL chunks. As per the PNG spec (third edition): "The static image may be included as the first frame of the animation by the presence of a single fcTL chunk before IDAT. Otherwise, the static image is not part of the animation." We also fall back to the IDAT data when APNG has acTL but no fcTL chunks. Test image is 062.png from fDAT-inherits-cICP.html from WPT.