Feature Policy: Legacy Image Format
- Category
- Multimedia
- Type
- New or changed feature
- Status
- No longer pursuing (Chrome No longer pursuing)
- Intent stage
- None
Summary
Allows developers to selectively enable and disable the use of images with legacy image formats through the Feature-Policy HTTP header or the <iframe> 'allow' attribute. This provides more control over images using legacy formats, on a per-origin basis. Use this policy to improve image loading performance. The identifier for the feature in policies is 'legacy-image-formats'. By default, 'legacy-image-formats' is allowed in all frames.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://crbug.com/874071
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=feature-policy-legacy-image-format
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Feature%20Policy%3A%20Legacy%20Image%20Format
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Feature%20Policy%3A%20Legacy%20Image%20Format
- Baseline status: https://webstatus.dev/?q=Feature%20Policy%3A%20Legacy%20Image%20Format
Samples: https://feature-policy-demos.appspot.com/legacy-image-formats.html?on