Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/35e9b5de6d59436568d9cbb951c98e716716bd7e
...commit
http://git.netsurf-browser.org/netsurf.git/commit/35e9b5de6d59436568d9cbb951c98e716716bd7e
...tree
http://git.netsurf-browser.org/netsurf.git/tree/35e9b5de6d59436568d9cbb951c98e716716bd7e
The branch, master has been updated
via 35e9b5de6d59436568d9cbb951c98e716716bd7e (commit)
from 519f0294205389dbf809fd2de206dcf21187bcfc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=35e9b5de6d59436568d9cbb951c98e716716bd7e
commit 35e9b5de6d59436568d9cbb951c98e716716bd7e
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>
Tests: Add simple JS test for dynamic layout.
diff --git a/test/js/event-onclick-insert.html
b/test/js/event-onclick-insert.html
new file mode 100644
index 0000000..62b9d7e
--- /dev/null
+++ b/test/js/event-onclick-insert.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+
+<button onclick="add_paragraph()">Click me!</button>
+
+<script>
+function add_paragraph() {
+ var paragraph = document.createElement("P");
+ var textnode = document.createTextNode("New paragraph!");
+ paragraph.appendChild(textnode);
+ document.body.appendChild(paragraph);
+}
+</script>
+
+</body>
+</html>
+
-----------------------------------------------------------------------
Summary of changes:
test/js/event-onclick-insert.html | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 test/js/event-onclick-insert.html
diff --git a/test/js/event-onclick-insert.html
b/test/js/event-onclick-insert.html
new file mode 100644
index 0000000..62b9d7e
--- /dev/null
+++ b/test/js/event-onclick-insert.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+
+<button onclick="add_paragraph()">Click me!</button>
+
+<script>
+function add_paragraph() {
+ var paragraph = document.createElement("P");
+ var textnode = document.createTextNode("New paragraph!");
+ paragraph.appendChild(textnode);
+ document.body.appendChild(paragraph);
+}
+</script>
+
+</body>
+</html>
+
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org