[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / fast / events / stopPropagation-submit.html
1 <p>This test checks whether event.stopPropagation() prevents the
2 default action. It should not! If the default was prevented, you'll
3 see a link below and the text FAIL. On success you will see PASS (and
4 ?x=0&y=0).
5 </p>
6 <form action="resources/stopPropagation-submit-target.html">
7 <input type="image" id="image1" onclick="event.stopPropagation()" value="click here">
8 </form>
9 <p>
10 FAIL
11 <script>
12 if (window.layoutTestController) {
13     layoutTestController.dumpAsText();
14     layoutTestController.waitUntilDone();
15 }
16
17 var submit = document.getElementById("image1");
18 submit.click();
19
20 </script>