blob: 4bfb4f5e5f940df52e3b9d6a98e699bf9e293926 [file] [log] [blame]
This tests that key events targeting a frame do not propagate up the frame tree. This will only produce output if the test fails.
<br />
To test manually click in the empty frame and press any key. If you receive any output the test has failed.
<pre id="log"></pre>
<iframe id="targetFrame" src="data:text/html,"></iframe>
onkeydown=function(){document.getElementById("log").innerHTML += 'FAIL: outerFrame received keydown\n'; };
onkeypress=function(){document.getElementById("log").innerHTML += 'FAIL: outerFrame received keypress\n'; };
onkeyup=function(){document.getElementById("log").innerHTML += 'FAIL: outerFrame received keyup\n'; };
if (window.testRunner) {