[collapse-30.html]
  type: testharness
  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 20 [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 21 [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 22 [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 23 [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 31 [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 32 [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 33 [foreignDoc.head, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 34 [foreignDoc.body, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 54 [foreignDoc, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 55 [foreignDoc, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 56 [foreignComment, 2\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 57 [foreignTextNode, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 58 [foreignTextNode, 36\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 59 [xmlDoc, -1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 60 [xmlDoc, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 61 [xmlDoc, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 62 [xmlDoc, 5\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 63 [xmlComment, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 64 [xmlComment, 4\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 65 [processingInstruction, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 66 [processingInstruction, 5\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 67 [processingInstruction, 9\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 70 [detachedForeignTextNode, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 71 [detachedForeignTextNode, 8\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 72 [detachedXmlTextNode, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 73 [detachedXmlTextNode, 8\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 74 [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 77 [detachedForeignComment, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 78 [detachedForeignComment, 4\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 79 [detachedXmlComment, 2\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 81 [foreignDocfrag, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 82 [xmlDocfrag, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 86 [foreignDoctype, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 87 [xmlDoctype, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 30 [paras[0\], 0, paras[0\].firstChild, 7\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 31 [testDiv, 2, paras[4\], 1\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 32 [testDiv, 1, paras[2\].firstChild, 5\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 33 [document.documentElement, 1, document.body, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 34 [foreignDoc.documentElement, 1, foreignDoc.body, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 35 [document, 0, document, 1\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 36 [document, 0, document, 2\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 37 [document, 1, document, 2\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 38 [testDiv, 0, comment, 5\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 39 [paras[2\].firstChild, 4, comment, 2\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 40 [paras[3\], 1, comment, 8\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 41 [foreignDoc, 0, foreignDoc, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 42 [foreignDoc, 1, foreignComment, 2\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 43 [foreignDoc.body, 0, foreignTextNode, 36\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 44 [xmlDoc, 0, xmlDoc, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 45 [xmlDoc, 1, xmlComment, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 46 [detachedTextNode, 0, detachedTextNode, 8\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 47 [detachedForeignTextNode, 7, detachedForeignTextNode, 7\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 48 [detachedForeignTextNode, 0, detachedForeignTextNode, 8\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 49 [detachedXmlTextNode, 7, detachedXmlTextNode, 7\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 50 [detachedXmlTextNode, 0, detachedXmlTextNode, 8\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 51 [detachedComment, 3, detachedComment, 4\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 52 [detachedComment, 5, detachedComment, 5\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 53 [detachedForeignComment, 0, detachedForeignComment, 1\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 54 [detachedForeignComment, 4, detachedForeignComment, 4\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 55 [detachedXmlComment, 2, detachedXmlComment, 6\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 56 [docfrag, 0, docfrag, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 57 [foreignDocfrag, 0, foreignDocfrag, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 16 [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 17 [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 18 [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 41 [detachedPara1, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 42 [detachedPara1, 1\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 68 [detachedTextNode, 0\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 69 [detachedTextNode, 8\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 75 [detachedComment, 3\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 76 [detachedComment, 5\]]
    expected: FAIL

  [Range 58 [xmlDocfrag, 0, xmlDocfrag, 0\], point 80 [docfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [paras[0\], 0, paras[0\].firstChild, 7\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 2, paras[4\], 1\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 2, paras[4\], 1\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 1, paras[2\].firstChild, 5\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [document.documentElement, 1, document.body, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document.documentElement, 1, document.body, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.documentElement, 1, foreignDoc.body, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 1\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 1\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [document, 0, document, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document, 0, document, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [document, 1, document, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [document, 1, document, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [testDiv, 0, comment, 5\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [testDiv, 0, comment, 5\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [paras[2\].firstChild, 4, comment, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [paras[3\], 1, comment, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [paras[3\], 1, comment, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 0, foreignDoc, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc, 1, foreignComment, 2\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDoc.body, 0, foreignTextNode, 36\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 0, xmlDoc, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [xmlDoc, 1, xmlComment, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedTextNode, 0, detachedTextNode, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 7, detachedForeignTextNode, 7\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignTextNode, 0, detachedForeignTextNode, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 7, detachedXmlTextNode, 7\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlTextNode, 0, detachedXmlTextNode, 8\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 3, detachedComment, 4\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 3, detachedComment, 4\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedComment, 5, detachedComment, 5\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedComment, 5, detachedComment, 5\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 0, detachedForeignComment, 1\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedForeignComment, 4, detachedForeignComment, 4\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [detachedXmlComment, 2, detachedXmlComment, 6\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [docfrag, 0, docfrag, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [docfrag, 0, docfrag, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [foreignDocfrag, 0, foreignDocfrag, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 8\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignPara1.firstChild, 9\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.documentElement, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.documentElement, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.head, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc.body, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedPara1, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoc, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignComment, 2\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignTextNode, 36\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, -1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, 1\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoc, 5\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlComment, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlComment, 4\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [processingInstruction, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [processingInstruction, 5\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [processingInstruction, 9\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedXmlTextNode, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedXmlTextNode, 8\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedProcessingInstruction, 12\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedComment, 3\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedComment, 5\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignComment, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedForeignComment, 4\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [detachedXmlComment, 2\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [docfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [docfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDocfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDocfrag, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [foreignDoctype, 0\]]
    expected: FAIL

  [collapse() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

  [setPosition() on [xmlDocfrag, 0, xmlDocfrag, 0\] to [xmlDoctype, 0\]]
    expected: FAIL

