diff options
Diffstat (limited to 'testing/web-platform/mozilla/tests/css/cssom/media-print-change-print.html')
-rw-r--r-- | testing/web-platform/mozilla/tests/css/cssom/media-print-change-print.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/web-platform/mozilla/tests/css/cssom/media-print-change-print.html b/testing/web-platform/mozilla/tests/css/cssom/media-print-change-print.html new file mode 100644 index 0000000000..8e9172956c --- /dev/null +++ b/testing/web-platform/mozilla/tests/css/cssom/media-print-change-print.html @@ -0,0 +1,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> |