New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APNG error handling #360
Comments
There is a related Bugzilla bug: |
Related, PNG spec says:
This is tested by wpt/png/apng/fcTL-acTL-ordering.html which is passed by Chrome, Edge and Firefox but failed by Safari. The test file has the following structure:
so there is an I don't know what Safari does with |
From the 8 Jan 2024 PNG WG meeting:
|
I will port over the APNG error handling tests for WPT |
Closing since we resolved that no spec changes are needed |
(This is an issue for PNG in general, in terms of testing with known-invalid PNG images; but I noticed it in particular with invalid APNG)
On the one hand, PNG says (my emphasis):
On the other hand PNG also says:
The wording is verbatim from the Mozilla APNG spec.
Looking at the invalid APNG tests, Mozilla does not do the "stop animation, revert to static" in most cases while Chrome does. But also they vary, in some cases the image does not load and in other cases the static image is displayed. The spec is loose enough here that the correct behavior is not always clear.
The text was updated successfully, but these errors were encountered: