Baseline Widely DOM API
api.Element.scrollWidth
Granular MDN Browser Compat Data support history across 14 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Safari 1
2003-06-23
Core-3 Stability
1,998d (5.5y)
Last: Chrome (2008-12-11)
Baseline Feature
Widely
Scroll methods on elements
Browser Support Timeline
Notes (1)
IE: In Internet Explorer 5 through 7, if padding is set, the value ofscrollWidth is equal to the sum of the left and right padding. This behavior was fixed in Internet Explorer 8.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 1 | 2008-12-11 | Supported |
| Firefox | desktop | 1 | 2004-11-09 | Supported |
| Safari | desktop | 1 | 2003-06-23 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 18 | 2012-06-27 | Supported |
| Firefox for Android | mobile | 4 | 2011-03-29 | Supported |
| Safari on iOS | mobile | 1 | 2007-06-29 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 1 | 2007-06-29 | Supported |
| Samsung Browser | mobile | 1.0 | 2013-04-27 | Supported |
| Opera | desktop | ≤12.1 | 2012-11-20 | Supported |
| Opera Android | mobile | ≤12.1 | 2012-10-09 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | 5 | 1999-03-18 | Supported |