Web authors would like a way to guarantee an image has been fully decoded and will display immediately when inserted into the DOM.
Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1501794 Link to standard: https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode Platform coverage: All Target Release: 65 Do other browser engines implement this?: Chrome 64, Opera 51, Safari 11.1. Is this feature enabled by default in sandboxed iframes?: This is simply a new method for JS on image elements, so it should be unavailable. Is this feature restricted to secure contexts?: No. This already ships on Chrome and Safari in an insecure context. web-platform-tests: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/decode/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform