diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /dom/tests/js/clone.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'dom/tests/js/clone.html')
-rw-r--r-- | dom/tests/js/clone.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dom/tests/js/clone.html b/dom/tests/js/clone.html new file mode 100644 index 000000000..a99f3f38d --- /dev/null +++ b/dom/tests/js/clone.html @@ -0,0 +1,26 @@ +<HTML> +<HEAD> +<TITLE>Clone test</TITLE> +<SCRIPT> +function clonePara() +{ + var p = document.getElementsByTagName("P")[0]; + var newp = p.cloneNode(true); + + document.body.appendChild(newp); +} +</SCRIPT> +</HEAD> +<BODY> +<H1>Clone test</H1> + +<P>If you press the button <B>below</B>, this paragraph and the +image <IMG SRC="flamer.gif"> will be <FONT SIZE=+3>cloned</FONT>. +If you see an <I>exact</I> copy of this paragraph, the test +succeeded.</P> + +<FORM> +<INPUT TYPE="button" NAME="clone" VALUE="Clone" onClick="clonePara();"> +</FORM> +</BODY> +</HTML>
\ No newline at end of file |