Baseline Widely HTML
html.elements.img.aspect_ratio_computed_from_attributes
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
HTML
Standard track
First Core Launch
Chrome 79
2019-12-10
Core-3 Stability
650d (1.8y)
Last: Safari (2021-09-20)
Baseline Feature
Widely
aspect-ratio
Browser Support Timeline
Notes (3)
Safari: Safari doesn't preserve space for images without a validsrc, which may disrupt layouts that rely on lazy loading (see bug 224197).Saf iOS: Safari on iOS doesn't preserve space for images without a valid src, which may disrupt layouts that rely on lazy loading (see bug 224197).WV iOS: WebView on iOS doesn't preserve space for images without a valid src, which may disrupt layouts that rely on lazy loading (see bug 224197).Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 79 | 2019-12-10 | Supported |
| Firefox | desktop | 71 | 2019-12-10 | Supported |
| Safari | desktop | 15 | 2021-09-20 | Supported |
| Edge | desktop | 79 | 2020-01-15 | Supported |
| Chrome Android | mobile | 79 | 2019-12-17 | Supported |
| Firefox for Android | mobile | 79 | 2020-07-28 | Supported |
| Safari on iOS | mobile | 15 | 2021-09-20 | Supported |
| WebView Android | mobile | 79 | 2019-12-17 | Supported |
| WebView on iOS | mobile | 15 | 2021-09-20 | Supported |
| Samsung Browser | mobile | 12.0 | 2020-06-19 | Supported |
| Opera | desktop | 66 | 2020-01-07 | Supported |
| Opera Android | mobile | 57 | 2020-03-30 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 8.0 | 2020-02-10 | Supported |
| Internet Explorer | desktop | — | — | — |