diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-11-18 17:35:52 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-11-18 17:35:52 +0000 |
commit | fa9046fc97cb73329652c86d3c77376d32935333 (patch) | |
tree | c3ef12bae8f07485aa93d6fc780aeb4781391808 /test/js/dom-element-childElementCount.html | |
parent | 99d3633e0348fcff3f99d87696b57a70cbdcaf4d (diff) | |
download | netsurf-fa9046fc97cb73329652c86d3c77376d32935333.tar.gz netsurf-fa9046fc97cb73329652c86d3c77376d32935333.tar.bz2 |
implement childElementCount
Diffstat (limited to 'test/js/dom-element-childElementCount.html')
-rw-r--r-- | test/js/dom-element-childElementCount.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/js/dom-element-childElementCount.html b/test/js/dom-element-childElementCount.html new file mode 100644 index 000000000..ec4b7f89a --- /dev/null +++ b/test/js/dom-element-childElementCount.html @@ -0,0 +1,11 @@ +<html> +<head> +<link rel="stylesheet" type="text/css" href="tst.css"> +<title>DOM childElementCount reference</title> +</head> +<body> +<h1>DOM childElementCount reference</h1> +<p><b>head.childElementCount:</b> <script>document.write(document.head.childElementCount);</script></p> +<p><b>body.childElementCount:</b> <script>document.write(document.body.childElementCount);</script></p> +</body> +</html> |