summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/resources/media-query-list-callback-frame.html
blob: e9949b286d2e7e5847ed588d3778b900b40b943d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<style>
@media (max-width: 200px) {
  body {
    background: orange;
  }
}
</style>
<script>
var mql = window.matchMedia('(max-width: 200px)');
mql.addListener(function (mql) {
});
</script>