<!DOCTYPE html> <html class="reftest-print"> <body> <div style="height:800px;"></div> <div style="position:absolute; top:0; left:0;">This text should be visible in print preview</div> </body> </html>