Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / resources / htmlcontent.html
1 <script>
2 function sayHello()
3 {
4     alert("Hello");
5 }
6 if (window.testRunner)
7      testRunner.dumpAsText();
8 </script>
9 <body>
10 <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>
11 <script style="display: block; position: fixed; top: 4000px">alert('hello');</script>
12 <script src="../editing.js" style="display: block; position: fixed; top: 4000px"></script>
13 <iframe id="iframe1" src="javascript:sayHello()" style="width: 200px; height: 100px; background-color:#cee;"></iframe>
14 <form id="form1" action="javascript:sayHello()" style="width: 200px; height: 150px; background-color:#cee;">This is a form</form>
15 </body>