Baseline Newly DOM API
api.Window.devicePixelRatio
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 1
2008-12-11
Core-3 Stability
6,312d (17.3y)
Last: Safari (2026-03-24)
Baseline Feature
Newly
devicePixelRatio
Browser Support Timeline
Notes (3)
Safari: In Safari, thedevicePixelRatio does not change when the page is zoomed. See bug 124862.Saf iOS: In Safari on iOS, the devicePixelRatio does not change when the page is zoomed. See bug 124862.WV iOS: In WebView on iOS, the devicePixelRatio does not change when the page is zoomed. See bug 124862.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 1 | 2008-12-11 | Supported |
| Firefox | desktop | 18 | 2013-01-08 | Supported |
| Safari | desktop | 26.4 | 2026-03-24 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 18 | 2012-06-27 | Supported |
| Firefox for Android | mobile | 18 | 2013-01-08 | Supported |
| Safari on iOS | mobile | 26.4 | 2026-03-24 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 26.4 | 2026-03-24 | Supported |
| Samsung Browser | mobile | 1.0 | 2013-04-27 | Supported |
| Opera | desktop | 11.1 | 2011-04-12 | Supported |
| Opera Android | mobile | 11.1 | 2011-06-30 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | 11 | 2013-10-17 | Supported |