Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / stop-immediate-propagation.html
blob070f20620b8a9add55a91feacb0c3ef542e8f07d
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 window.testRunner.dumpAsText();
7 function eventHandlerOne(event)
9 if (event.stopImmediatePropagation)
10 event.stopImmediatePropagation();
11 else
12 event.stopPropagation();
15 function eventHandlerTwo(event)
17 document.getElementById('result').innerHTML = 'FAIL';
19 </script>
20 </head>
21 <body onload="document.forms[0].reset()">
22 <div id="result">PASS</div>
23 <form></form>
24 <script>
25 document.forms[0].addEventListener("reset", eventHandlerOne, true);
26 document.forms[0].addEventListener("reset", eventHandlerTwo, true);
27 </script>
28 </body>
29 </html>