helper_doubletap_zoom_oopif_subframe-3.html (1064B)
1 <!DOCTYPE HTML> 2 <html> 3 <script src="apz_test_native_event_utils.js"></script> 4 <script src="apz_test_utils.js"></script> 5 <script src="/tests/SimpleTest/SimpleTest.js"></script> 6 <script src="/tests/SimpleTest/paint_listener.js"></script> 7 <style> 8 .container { 9 background-color: #eee; 10 width: 200px; 11 height: 50px; 12 border: 1px dotted black; 13 overflow: visible; 14 } 15 </style> 16 <div class="container"></div> 17 <script> 18 let text = ""; 19 for (let i = 0; i < 200; i++) { 20 text += "Text text text text text text text text text text text text text text text text\n"; 21 } 22 text += '<div id="target" style="width: 100%; height: 10px; background-color: red; position: relative; top: -20px; z-index: -1"></div>'; 23 document.querySelector(".container").innerHTML = text; 24 25 // Silence SimpleTest warning about missing assertions by having it wait 26 // indefinitely. We don't need to give it an explicit finish because the 27 // entire window this test runs in will be closed after the main browser test 28 // finished. 29 SimpleTest.waitForExplicitFinish(); 30 </script> 31 </html>