Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>No resize event on the original page when printing</title>
<link rel="match" href="no-resize-event-ref.html">
<div id="target">PASS</div>
<script>
window.addEventListener("resize", function() {
document.getElementById("target").innerHTML = `FAIL: ${window.innerWidth}x${window.innerHeight}`;
})
</script>