summaryrefslogtreecommitdiff
path: root/test/js/event-onloadfrombody.html
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-11-22 16:53:22 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-11-22 16:53:22 +0000
commit4137739b8ae3829d679b59a0894d1189a4e776d4 (patch)
tree470da94f491ac21b5c30b1954e6aceb37423f61e /test/js/event-onloadfrombody.html
parentc92726d3aa05e7fd3ffb00a2b115c61e42c6270d (diff)
downloadnetsurf-4137739b8ae3829d679b59a0894d1189a4e776d4.tar.gz
netsurf-4137739b8ae3829d679b59a0894d1189a4e776d4.tar.bz2
Tests for body onload behaviour
Diffstat (limited to 'test/js/event-onloadfrombody.html')
-rw-r--r--test/js/event-onloadfrombody.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/js/event-onloadfrombody.html b/test/js/event-onloadfrombody.html
new file mode 100644
index 000000000..be491e6dd
--- /dev/null
+++ b/test/js/event-onloadfrombody.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>alert based onload (from body) example</title>
+
+</head>
+
+<body onload="alert('Running onload')">
+<h1>Just look at the log</h1>
+</body>
+</html>