← Back to release summary

Image decoding attribute

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 64)
Intent stage
None

Summary

This feature allows developers to specify decoding attribute on HTMLImageElement and SVGImageElement which would have one of two states: “async”: This indicates that the developer prefers responsiveness and performance over atomic presentation of image and non-image content. “sync”: This indicates that the developer prefers atomic presentation of content over responsiveness. "auto": This indicates a default state where the user-agent can select the behavior.

Standards & signals

Docs: https://github.com/whatwg/html/issues/1920

View on chromestatus.com