blob: fb2bf2eb97f1d78ca844346af60bcea708ddd924 [file] [log] [blame]
<script>
function sayHello()
{
alert("Hello");
}
if (window.testRunner)
testRunner.dumpAsText();
</script>
<body>
<button id="button1" onclick="sayHello()" ondblclick="sayHello()" style="width: 100px;">Hello</button><a id="anchor1" href="http://www.bing.com/search?q=cnn">CNN</a><a id="anchor2" href="javascript:sayHello()">Hello</a>
<script style="display: block; position: fixed; top: 4000px">alert('hello');</script>
<script src="../editing.js" style="display: block; position: fixed; top: 4000px"></script>
<iframe id="iframe1" src="javascript:alert('hello')" style="width: 200px; height: 100px; background-color:#cee;"></iframe>
<form id="form1" action="javascript:sayHello()" formaction="javascript:sayHello()" style="width: 200px; height: 150px; background-color:#cee;">This is a form. <button formaction="javascript:sayHello()">Submit.</button></form>
</body>