helper_test_select_popup_position_zoomed.html (705B)
1 <!DOCTYPE html> 2 <script src="/tests/SimpleTest/SimpleTest.js"></script> 3 <script src='/tests/SimpleTest/paint_listener.js'></script> 4 <script src='apz_test_utils.js'></script> 5 <style> 6 html, body { 7 /* To calculate the popup window position easily. */ 8 margin: 0; 9 padding: 0; 10 } 11 iframe { 12 width: 300px; 13 height: 300px; 14 /* To calculate the popup window position easily. */ 15 border: none; 16 } 17 </style> 18 <iframe></iframe> 19 <script> 20 // Call setResolutionAndScaleTo here to avoid bug 1691358. 21 SpecialPowers.getDOMWindowUtils(window).setResolutionAndScaleTo(2.0); 22 // Silence SimpleTest warning about missing assertions by having it wait 23 // indefinitely. 24 SimpleTest.waitForExplicitFinish(); 25 </script>