no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / layout / reftests / printing / test-print-selection-iframe.html
blobb3d39c2c52fa1d9ce28c73e5c6b8ae6d2fb832cd
1 <!DOCTYPE html>
2 <html reftest-print-range="selection">
3 <head>
4 <meta charset="utf-8">
5 <link href="print.css" rel="stylesheet">
6 <script>
7 function selectNodeById(id) {
8 var node = document.getElementById(id);
9 var rng = document.createRange();
10 rng.selectNode(node);
11 window.getSelection().addRange(rng);
13 </script>
14 </head>
15 <body onload="selectNodeById('selection')">
16 <p>This text should not be there</p>
17 <p id="selection">This text should appear on page 1</p>
18 <iframe src="data:text/html,"></iframe>
19 </body>
20 </html>