diff options
Diffstat (limited to 'layout/reftests/printing/test-async-print.html')
-rw-r--r-- | layout/reftests/printing/test-async-print.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/printing/test-async-print.html b/layout/reftests/printing/test-async-print.html new file mode 100644 index 0000000000..b2ddec6449 --- /dev/null +++ b/layout/reftests/printing/test-async-print.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html class="reftest-wait"> +<head> + <meta charset="utf-8"> + <link href="print.css" rel="stylesheet"> + <script> + window.addEventListener("MozReftestInvalidate", function() { + document.getElementById("page1").innerText = 'This text should appear on page 1'; + document.documentElement.className = ""; + }); + </script> +</head> +<body> + <p id="page1"></p> +</body> +</html> |