Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / virtual / android / fullscreen / video-scrolled-iframe.html
index fd5c67e..8a10112 100644 (file)
@@ -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();