23 lines
372 B
HTML
23 lines
372 B
HTML
<html>
|
|
<head>
|
|
<style media="print">
|
|
div { position: absolute; }
|
|
span {display: none; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<span style="float: right;">
|
|
0
|
|
</span>
|
|
</div>
|
|
<script>
|
|
document.body.offsetWidth;
|
|
if (window.testRunner)
|
|
testRunner.setPrinting();
|
|
document.body.offsetWidth;
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|