Index: LayoutTests/dom/xhtml/level3/core/nodeinsertbefore12.js |
diff --git a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore12.js b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore12.js |
index 44e28b16bee549adaf84df005c74fea883cbc158..ec0ca8e3076cf5a48f978e848802d876946e77e5 100644 |
--- a/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore12.js |
+++ b/LayoutTests/dom/xhtml/level3/core/nodeinsertbefore12.js |
@@ -1,17 +1,14 @@ |
- |
/* |
-Copyright © 2001-2004 World Wide Web Consortium, |
-(Massachusetts Institute of Technology, European Research Consortium |
-for Informatics and Mathematics, Keio University). All |
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the |
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
+Copyright © 2001-2004 World Wide Web Consortium, |
+(Massachusetts Institute of Technology, European Research Consortium |
+for Informatics and Mathematics, Keio University). All |
+Rights Reserved. This work is distributed under the W3C® Software License [1] in the |
+hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
+the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
*/ |
- |
- |
/** |
* Gets URI that identifies the test. |
* @return uri identifier of test |
@@ -42,26 +39,24 @@ function setUpPage() { |
setImplementationAttribute("namespaceAware", true); |
docsLoaded = 0; |
- |
+ |
var docRef = null; |
if (typeof(this.doc) != 'undefined') { |
docRef = this.doc; |
} |
docsLoaded += preload(docRef, "doc", "hc_staff"); |
- |
+ |
if (docsLoaded == 1) { |
setUpPageStatus = 'complete'; |
} |
} catch(ex) { |
- catchInitializationError(builder, ex); |
+ catchInitializationError(builder, ex); |
setUpPageStatus = 'complete'; |
} |
} |
- |
- |
// |
-// This method is called on the completion of |
+// This method is called on the completion of |
// each asychronous load started in setUpTests. |
// |
// When every synchronous loaded document has completed, |
@@ -73,15 +68,14 @@ function loadComplete() { |
} |
} |
- |
/** |
-* |
- The method insertBefore inserts the node newChild before the existing child node refChild. |
- If refChild is null, insert newChild at the end of the list of children. |
+* |
+ The method insertBefore inserts the node newChild before the existing child node refChild. |
+ If refChild is null, insert newChild at the end of the list of children. |
- Using insertBefore on a DocumentFragment node attempt to insert a new DocumentFragment node |
- before this DocumentFragment's Element node and verify the last child is still the only child |
- appended to docFrag. |
+ Using insertBefore on a DocumentFragment node attempt to insert a new DocumentFragment node |
+ before this DocumentFragment's Element node and verify the last child is still the only child |
+ appended to docFrag. |
* @author IBM |
* @author Neil Delima |
@@ -98,7 +92,7 @@ function nodeinsertbefore12() { |
var appendedChild; |
var last; |
var name; |
- |
+ |
var docRef = null; |
if (typeof(this.doc) != 'undefined') { |
docRef = this.doc; |
@@ -114,11 +108,8 @@ function nodeinsertbefore12() { |
name = last.nodeName; |
assertEquals("nodeinsertbefore12","dom3:elem",name); |
- |
-} |
- |
- |
+} |
function runTest() { |
nodeinsertbefore12(); |