1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
6 testRunner
.dumpEditingCallbacks();
9 <title>Editing Test
</title>
10 <script type=
"text/javascript">
11 function getContainer(containerID
) {return document
.getElementById(containerID
);}
14 window
.onload = function() {
16 var newcontainer
= getContainer('identity-options-horiz');
17 var oldcontainer
= getContainer('identity-options');
20 var paranodes
= oldcontainer
.getElementsByTagName("p");
22 // move all the paragraph nodes to new container
23 while (paranodes
.length
> 0) {
24 newcontainer
.appendChild(paranodes
[0]);
33 <div style=
"border-style:solid; border-color:red" id=
"identity-options-horiz">Destination container
</div>
34 <div style=
"border-style:solid; border-color:blue" id=
"identity-options">
36 <p class=
"label">one
</p>
37 <p class=
"label">two
</p>