-
Notifications
You must be signed in to change notification settings - Fork 27
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
Issues with images? #136
Comments
One image-related problem is browser vendors incrementally shipping support for new image formats, i.e. first shipping support for static images, and only later shipping support for animated images. A current example of this is AVIF: although all major browsers support AVIF for still images, only Chrome supports animated AVIF. Per @jensimmons’s tweet, Safari will support animated AVIF in Safari 16.1 (scheduled for release in October 2022), but that still leaves Firefox with only static AVIF support for the time being. Until all browsers advertising AVIF support also support animations, this poses an interoperability problem where developers cannot rely on the browser to do format selection by using WPT covers animated AVIF in the (It would be even nicer if browser vendors would commit to not shipping partial implementations unless there are separate MIME types for the static vs. animated image formats.) |
Thanks @mathiasbynens, +1! @foolip the issue that was on my mind at the time was this bug with So I gave this another thought (w/ @eportis-cloudinary - anything to add?), maybe nothing actionable at this point, besides the above, and random specific engine issues. |
@ydaniv it looks like that bug was fixed just 7 days ago in WebKit/WebKit@0c40ba6. I'd guess that it'll be in the next Safari Technology Preview, but you'd have to read release notes (like these) to know for sure. If you have the possibility, perhaps you could re-test this in the next release of STP? |
Let's label this as a focus area proposal despite it being kinda undefined so we don't forget about this. |
Update: It looks like we can’t “just” follow the APNG example. That test relies on last frame being shown after a certain timeout, which depends on the animation not looping — but AVIF animations always loop indefinitely. |
@mathiasbynens can we have a very long animated AVIF? If variable frame length isn't possible, then just 1 red frame and lots of green ones? A total of 10 seconds or so should do it. |
@foolip sure, we're on it, hoping this will be in 16.1 |
|
I also discovered this Safari |
And this Firefox white background while loading image bug which is not fixed yet. It is very noticeable for websites with dark backgrounds. |
Interop 2023 proposals relevant to this topic: |
I'll go ahead and close this issue, as it's not a full proposal. If anyone has image-related features they'd like to suggest for Interop 2023, please see https://github.com/web-platform-tests/interop/blob/main/2023/README.md for the process. |
Looping with animated AVIF should be controllable with an edit-list, as defined by MIAF. |
…AVIF test, a=testonly Automatic update from web-platform-tests Add `ImageDecoder`-independent animated AVIF test (#36044) Ref. web-platform-tests/interop#136 -- wpt-commits: 28907950abfc7baf1cc61b5b9845f2a787032906 wpt-pr: 36044
…AVIF test, a=testonly Automatic update from web-platform-tests Add `ImageDecoder`-independent animated AVIF test (#36044) Ref. web-platform-tests/interop#136 -- wpt-commits: 28907950abfc7baf1cc61b5b9845f2a787032906 wpt-pr: 36044
This isn't a propsal, just a discussion.
In https://www.w3.org/2022/09/14-interop-minutes.html @ydaniv said:
@ydaniv I wonder if you have more information about images, to understand if a general "Images" focus area could make sense. Does the
loading
attribute not work properly across browsers still? (It seems to be supported.) Are there other issues around images you had in mind?The text was updated successfully, but these errors were encountered: