Index: LayoutTests/dom/html/level1/core/hc_documentcreatedocumentfragment.js |
diff --git a/LayoutTests/dom/html/level1/core/hc_documentcreatedocumentfragment.js b/LayoutTests/dom/html/level1/core/hc_documentcreatedocumentfragment.js |
index 40240c54c79bab51bde0ad0e64a1d9e5042f1c96..2914db6b70f68c938096c0ddad46b043af9b1bcb 100644 |
--- a/LayoutTests/dom/html/level1/core/hc_documentcreatedocumentfragment.js |
+++ b/LayoutTests/dom/html/level1/core/hc_documentcreatedocumentfragment.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 |
@@ -41,26 +38,24 @@ function setUpPage() { |
builder = createConfiguredBuilder(); |
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, |
@@ -72,13 +67,12 @@ function loadComplete() { |
} |
} |
- |
/** |
-* |
- The "createDocumentFragment()" method creates an empty |
+* |
+ The "createDocumentFragment()" method creates an empty |
DocumentFragment object. |
- Retrieve the entire DOM document and invoke its |
- "createDocumentFragment()" method. The content, name, |
+ Retrieve the entire DOM document and invoke its |
+ "createDocumentFragment()" method. The content, name, |
type and value of the newly created object are output. |
* @author Curt Arnold |
@@ -94,7 +88,7 @@ function hc_documentcreatedocumentfragment() { |
var newDocFragmentName; |
var newDocFragmentType; |
var newDocFragmentValue; |
- |
+ |
var docRef = null; |
if (typeof(this.doc) != 'undefined') { |
docRef = this.doc; |
@@ -115,11 +109,8 @@ function hc_documentcreatedocumentfragment() { |
newDocFragmentValue = newDocFragment.nodeValue; |
assertNull("value",newDocFragmentValue); |
- |
-} |
- |
- |
+} |
function runTest() { |
hc_documentcreatedocumentfragment(); |