diff options
Diffstat (limited to 'chrome/test/data/dom_automation/events/test.html')
-rw-r--r-- | chrome/test/data/dom_automation/events/test.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/test/data/dom_automation/events/test.html b/chrome/test/data/dom_automation/events/test.html new file mode 100644 index 0000000..022a3a0 --- /dev/null +++ b/chrome/test/data/dom_automation/events/test.html @@ -0,0 +1,19 @@ +<html> +<script> +function renameLink() { + document.links[0].innerHTML = "clicked"; +} +function changeTextfield() { + document.getElementById("textfield").value = "clicked"; +} +</script> +<body> +<a href="javascript:renameLink();">link</a> +<textarea>textarea</textarea> +<form action=""> + <input id="textfield" type='text' value='textfield'></input> + <input id="button" type='button' value='button' onclick="changeTextfield()"> + </input> +</form> +</body> +</html> |