Baseline Widely other

matchMedia

The window.matchMedia() method checks whether a media query applies to the document.

Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Chrome 9
2011-02-03
Core-3 Stability
194d
Last: Firefox (2011-08-16)
BCD Keys Mapped
10
Group: other

Browser Support Timeline

Chrome v9 (2011-02-03) Safari v5.1 (2011-07-20) Firefox v6 (2011-08-16) Firefox for Android v6 (2011-08-16) Safari on iOS v5 (2011-10-12) Chrome Android v18 (2012-06-27) Edge v12 (2015-07-29)
Green dot marks the first browser release (2011-02-03); blue dots show subsequent browser launches (+1637d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 9 2011-02-03
Safari desktop 5.1 2011-07-20
Firefox desktop 6 2011-08-16
Firefox for Android mobile 6 2011-08-16
Safari on iOS mobile 5 2011-10-12
Chrome Android mobile 18 2012-06-27
Edge desktop 12 2015-07-29

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.MediaQueryList DOM API 194d
api.MediaQueryList.EventTarget_inheritance DOM API 2,129d (5.8y)
api.MediaQueryList.change_event DOM API 2,129d (5.8y)
api.MediaQueryList.matches DOM API 194d
api.MediaQueryList.media DOM API 194d
api.MediaQueryListEvent DOM API 2,129d (5.8y)
api.MediaQueryListEvent.MediaQueryListEvent DOM API 2,129d (5.8y)
api.MediaQueryListEvent.matches DOM API 2,129d (5.8y)
api.MediaQueryListEvent.media DOM API 2,129d (5.8y)
api.Window.matchMedia DOM API 194d