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
Browser Support Releases
| Browser | Type | Version | Release 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 Key | Area | Core-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 |