What does document.body.offsetHeight do before print?
- by systempuntoout
Sniffing gmail's Print all link source code, there's something like this:
<script>
function Print(){document.body.offsetHeight;window.print()};
</script>
</head>
<body onload="Print()">
What does document.body.offsetHeight do?