Skip to content
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

img.decode() and decoding attribute #3902

Closed
Malvoz opened this issue Dec 6, 2017 · 6 comments
Closed

img.decode() and decoding attribute #3902

Malvoz opened this issue Dec 6, 2017 · 6 comments

Comments

@Malvoz
Copy link
Contributor

Malvoz commented Dec 6, 2017

Data suggestion for img.decode() and <img> decoding attribute.

@Schweinepriester
Copy link
Contributor

+1

https://webkit.org/blog/8042/release-notes-for-safari-technology-preview-46/

Added support for the decoding="sync" or decoding="async" attribute on images

Chrome: https://www.chromestatus.com/feature/5637156160667648 (at least img.decode(), maybe the attribute too)

@Malvoz
Copy link
Contributor Author

Malvoz commented Jun 12, 2018

@jefffoxx
Copy link

jefffoxx commented Aug 7, 2018

Safari 11.1 release notes: https://webkit.org/blog/8216/new-webkit-features-in-safari-11-1/

@Schweinepriester
Copy link
Contributor

Schweinepriester commented Oct 17, 2018

Coming with Firefox 63: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/63

Support for the element's decoding attribute has been added (bug 1416328); see also HTMLImageElement.decoding.

EDIT:

Firefox 68: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/68

The decode() element on images is now implemented. this can be used to trigger loading and decoding of an image prior to adding it to the DOM (bug 1501794).

@krishna-veerareddy
Copy link

Supported in latest opera browsers as well. Tested in versions 55 and 56.

@Fyrd
Copy link
Owner

Fyrd commented May 8, 2020

@Fyrd Fyrd closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants