From f207f14be1e95d0c1fa1866decf2c07a119ba8fe Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 30 Jul 2012 22:31:20 +0100 Subject: simple script tests --- test/js/assorted.html | 34 ++++++++++++++++++++++++++++++++++ test/js/index.html | 17 +++++++++++++++++ test/js/inline-doc-write-simple.html | 11 +++++++++++ test/js/inline-doc-write.html | 13 +++++++++++++ test/js/sync-script.html | 12 ++++++++++++ test/js/tst.css | 1 + test/js/tst.js | 1 + 7 files changed, 89 insertions(+) create mode 100644 test/js/assorted.html create mode 100644 test/js/index.html create mode 100644 test/js/inline-doc-write-simple.html create mode 100644 test/js/inline-doc-write.html create mode 100644 test/js/sync-script.html create mode 100644 test/js/tst.css create mode 100644 test/js/tst.js (limited to 'test') diff --git a/test/js/assorted.html b/test/js/assorted.html new file mode 100644 index 000000000..bb3d477bc --- /dev/null +++ b/test/js/assorted.html @@ -0,0 +1,34 @@ + +moo + + +

one

+ + +

hi

+ + diff --git a/test/js/index.html b/test/js/index.html new file mode 100644 index 000000000..22f602e7f --- /dev/null +++ b/test/js/index.html @@ -0,0 +1,17 @@ + + +Script Tests + + + +

Script Tests

+ + + diff --git a/test/js/inline-doc-write-simple.html b/test/js/inline-doc-write-simple.html new file mode 100644 index 000000000..17ad8eede --- /dev/null +++ b/test/js/inline-doc-write-simple.html @@ -0,0 +1,11 @@ + +Inline Script Simple Document Write + +

Inline Script Simple Document Write

+

Before

+ +

Afterwards

+ + diff --git a/test/js/inline-doc-write.html b/test/js/inline-doc-write.html new file mode 100644 index 000000000..290256d20 --- /dev/null +++ b/test/js/inline-doc-write.html @@ -0,0 +1,13 @@ + + +Inline Docuemnt Write Test + + + +

Inline Document Write Test

+

Before

+ + +

Afterwards

+ + diff --git a/test/js/sync-script.html b/test/js/sync-script.html new file mode 100644 index 000000000..e234fb480 --- /dev/null +++ b/test/js/sync-script.html @@ -0,0 +1,12 @@ + + +Sync script Test + + + +

Sync script Test

+

Before

+ +

Afterwards

+ + diff --git a/test/js/tst.css b/test/js/tst.css new file mode 100644 index 000000000..6069f248a --- /dev/null +++ b/test/js/tst.css @@ -0,0 +1 @@ +h1 { color:red; } diff --git a/test/js/tst.js b/test/js/tst.js new file mode 100644 index 000000000..10e3b9c7f --- /dev/null +++ b/test/js/tst.js @@ -0,0 +1 @@ +document.write(""); -- cgit v1.2.3