Index: LayoutTests/virtual/android/fullscreen/video-scrolled-iframe.html |
diff --git a/LayoutTests/virtual/android/fullscreen/video-scrolled-iframe.html b/LayoutTests/virtual/android/fullscreen/video-scrolled-iframe.html |
index fd5c67e9d365f15f75c66db76de22018bcf1028c..8a101123b96e7923ac22b9e81912e457dce78677 100644 |
--- a/LayoutTests/virtual/android/fullscreen/video-scrolled-iframe.html |
+++ b/LayoutTests/virtual/android/fullscreen/video-scrolled-iframe.html |
@@ -9,10 +9,10 @@ |
if (!initialized) { |
window.scrollTo(0, 100); |
// video has been loaded and messaged us. |
- // Send click to center of iframe. |
+ // Send click to iframe (not the center since this will hit the overlay play button). |
iframe = document.getElementById("frame"); |
- x = iframe.offsetLeft + iframe.offsetWidth / 2; |
- y = iframe.offsetTop + iframe.offsetHeight / 2; |
+ x = iframe.offsetLeft + 10; |
+ y = iframe.offsetTop + 10; |
if (window.eventSender) { |
eventSender.mouseMoveTo(x, y); |
eventSender.mouseDown(); |