Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / move-nodes-001.html
blob0afaab18c690ba917e6172fd4a41594ac25e1a50
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpEditingCallbacks();
7 </script>
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');
19 if (oldcontainer) {
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]);
29 </script>
30 </head>
31 <body>
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">
35 Source container
36 <p class="label">one</p>
37 <p class="label">two</p>
38 </div>
40 </body>
41 </html>