summaryrefslogtreecommitdiffstats
path: root/layout/reftests/printing/test-async-print.html
blob: b2ddec644942ea72d7059d71911c999da31b0af7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>