summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/mozilla/tests/css/cssom/media-print-change-print.html
blob: 8e9172956cf226a37d9678faa3845e1ace343db5 (plain)
1
2
3
4
5
6
7
8
<!doctype html>
<link rel=match href="media-print-change-print-ref.html">
<div id="target">FAIL</div>
<script>
  matchMedia("print").addEventListener("change", function() {
    document.getElementById("target").innerHTML = "PASS";
  });
</script>