| Index: LayoutTests/dom/xhtml/level3/core/documentadoptnode01.js
|
| diff --git a/LayoutTests/dom/xhtml/level3/core/documentadoptnode01.js b/LayoutTests/dom/xhtml/level3/core/documentadoptnode01.js
|
| index 0bc54d1a89785c92b2f4f3a96211fb98278d2222..4021a6279a6bdf42f8dacd0e53d3be640f1f084c 100644
|
| --- a/LayoutTests/dom/xhtml/level3/core/documentadoptnode01.js
|
| +++ b/LayoutTests/dom/xhtml/level3/core/documentadoptnode01.js
|
| @@ -89,11 +89,6 @@ function documentadoptnode01() {
|
| var nodeName;
|
| var nodeType;
|
| var nodeValue;
|
| - var firstChild;
|
| - var firstChildValue;
|
| - var secondChild;
|
| - var secondChildType;
|
| - var secondChildName;
|
|
|
| var docRef = null;
|
| if (typeof(this.doc) != 'undefined') {
|
| @@ -105,11 +100,6 @@ function documentadoptnode01() {
|
| attr = element.getAttributeNode("class");
|
| adoptedclass = doc.adoptNode(attr);
|
|
|
| - if(
|
| -
|
| - (adoptedclass != null)
|
| -
|
| - ) {
|
| nodeName = adoptedclass.nodeName;
|
|
|
| nodeValue = adoptedclass.nodeValue;
|
| @@ -121,33 +111,6 @@ function documentadoptnode01() {
|
| assertEquals("documentadoptode01_nodeName","class",nodeName);
|
| assertEquals("documentadoptNode01_nodeType",2,nodeType);
|
| assertNull("documentadoptnode01_ownerDoc",attrOwnerElem);
|
| - firstChild = adoptedclass.firstChild;
|
| -
|
| - assertNotNull("firstChildNotNull",firstChild);
|
| -firstChildValue = firstChild.nodeValue;
|
| -
|
| - if(
|
| - ("Y" == firstChildValue)
|
| - ) {
|
| - secondChild = firstChild.nextSibling;
|
| -
|
| - assertNotNull("secondChildNotNull",secondChild);
|
| -secondChildType = secondChild.nodeType;
|
| -
|
| - assertEquals("secondChildIsEntityReference",5,secondChildType);
|
| - secondChildName = secondChild.nodeName;
|
| -
|
| - assertEquals("secondChildIsEnt1Reference","alpha",secondChildName);
|
| -
|
| - }
|
| -
|
| - else {
|
| - assertEquals("documentadoptnode01_nodeValue","Yα",nodeValue);
|
| -
|
| - }
|
| -
|
| - }
|
| -
|
| }
|
|
|
| function runTest() {
|
|
|