Index: LayoutTests/dom/html/level1/core/hc_characterdataappenddata.js |
diff --git a/LayoutTests/dom/html/level1/core/hc_characterdataappenddata.js b/LayoutTests/dom/html/level1/core/hc_characterdataappenddata.js |
index a4791749b7f18a6b4b6c368c8aa9f96f41ef8605..5563146091bff506bd2bb45d121bca3d60ae4d8d 100644 |
--- a/LayoutTests/dom/html/level1/core/hc_characterdataappenddata.js |
+++ b/LayoutTests/dom/html/level1/core/hc_characterdataappenddata.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,16 +67,15 @@ function loadComplete() { |
} |
} |
- |
/** |
-* |
- The "appendData(arg)" method appends a string to the end |
+* |
+ The "appendData(arg)" method appends a string to the end |
of the character data of the node. |
- |
- Retrieve the character data from the second child |
+ |
+ Retrieve the character data from the second child |
of the first employee. The appendData(arg) method is |
- called with arg=", Esquire". The method should append |
- the specified data to the already existing character |
+ called with arg=", Esquire". The method should append |
+ the specified data to the already existing character |
data. The new value return by the "getLength()" method |
should be 24. |
@@ -98,7 +92,7 @@ function hc_characterdataappenddata() { |
var child; |
var childValue; |
var childLength; |
- |
+ |
var docRef = null; |
if (typeof(this.doc) != 'undefined') { |
docRef = this.doc; |
@@ -113,11 +107,8 @@ function hc_characterdataappenddata() { |
childLength = childValue.length; |
assertEquals("characterdataAppendDataAssert",24,childLength); |
- |
-} |
- |
- |
+} |
function runTest() { |
hc_characterdataappenddata(); |