helper_test_select_popup_position.html (690B)
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 margin: 0; 8 padding: 0; 9 } 10 select { 11 position: absolute; 12 top: 150px; 13 left: 150px; 14 height: 30px; 15 } 16 </style> 17 <select><option>he he he</option><option>boo boo</option><option>baz baz</option></select> 18 <script> 19 // Silence SimpleTest warning about missing assertions by having it wait 20 // indefinitely. We don't need to give it an explicit finish because the 21 // entire window this test runs in will be closed after subtestDone is called. 22 SimpleTest.waitForExplicitFinish(); 23 </script>