diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-09 18:03:02 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2012-11-09 18:03:02 +0000 |
commit | 2810fe764d0074c5e32a889aabdae96ffd282978 (patch) | |
tree | 403900a5b608395664428db612dcfdc8bdf407c3 /test/js/dom-doc-location.html | |
parent | 413248d0fc33d3615db618628e79837f22a6bb6e (diff) | |
download | netsurf-2810fe764d0074c5e32a889aabdae96ffd282978.tar.gz netsurf-2810fe764d0074c5e32a889aabdae96ffd282978.tar.bz2 |
make javascript tests acessible from index and tidy them up a little
Diffstat (limited to 'test/js/dom-doc-location.html')
-rw-r--r-- | test/js/dom-doc-location.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/js/dom-doc-location.html b/test/js/dom-doc-location.html new file mode 100644 index 000000000..a41c53c31 --- /dev/null +++ b/test/js/dom-doc-location.html @@ -0,0 +1,10 @@ +<html> +<head> +<title>Document Location</title> +<link rel="stylesheet" type="text/css" href="tst.css"> +</head> +<body> +<h1>Document Location</h1> +<p><b>document.location.href:</b> <script>document.write(document.location.href);</script></p> +</body> +</html> |