Video is not started even if play button has been pressed.
[framework/web/webkit-efl.git] / LayoutTests / fast / events / context-onmousedown-event.html
1 <html>
2 <body>
3 <div id="box" onmousedown="document.getElementById('result').appendChild(document.createTextNode('PASS'));" style="border:1px dotted red">This tests to make sure that right clicking also sends a onmousedown event.</div>
4 <p id='result'></p>
5 </body>
6 </html>
7
8
9 <script>
10 if (window.testRunner) {
11      var box, x, y;
12      box = document.getElementById("box");
13      x = box.offsetParent.offsetLeft + box.offsetLeft + box.offsetWidth / 2;
14      y = box.offsetParent.offsetTop + box.offsetTop + box.offsetHeight / 2;
15      eventSender.mouseMoveTo(x, y);
16      eventSender.contextClick();
17      testRunner.dumpAsText();
18 }
19
20 </script>