Click on the button below.

If the browser offers to print the current page, dismiss the prompt to return to this page. The following should then appear in the box marked as "Output":

before calling print()
beforeprint
afterprint
after calling print()

If no user dialog appears, either the above or the following should be printed in the box marked as "Output":

before calling print()
after calling print()

The test passes if the above criteria are satisfied and "PASS" appears in a table below this paragraph. The test fails otherwise.

Output