OLD | NEW |
1 Tests for Node.compareDocumentPosition() for nodes in shadow tree. | 1 Tests for Node.compareDocumentPosition() for nodes in shadow tree. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS a1.compareDocumentPosition(a2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod
e.DOCUMENT_POSITION_FOLLOWING | 6 PASS a1.compareDocumentPosition(a2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod
e.DOCUMENT_POSITION_FOLLOWING |
7 PASS a2.compareDocumentPosition(a1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO
CUMENT_POSITION_PRECEDING | 7 PASS a2.compareDocumentPosition(a1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO
CUMENT_POSITION_PRECEDING |
8 PASS a2.compareDocumentPosition(a3) is Node.DOCUMENT_POSITION_FOLLOWING | 8 PASS a2.compareDocumentPosition(a3) is Node.DOCUMENT_POSITION_FOLLOWING |
9 PASS b1.compareDocumentPosition(b2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod
e.DOCUMENT_POSITION_FOLLOWING | 9 PASS b1.compareDocumentPosition(b2) is Node.DOCUMENT_POSITION_CONTAINED_BY | Nod
e.DOCUMENT_POSITION_FOLLOWING |
10 PASS b2.compareDocumentPosition(b1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO
CUMENT_POSITION_PRECEDING | 10 PASS b2.compareDocumentPosition(b1) is Node.DOCUMENT_POSITION_CONTAINS | Node.DO
CUMENT_POSITION_PRECEDING |
11 PASS b2.compareDocumentPosition(b3) is Node.DOCUMENT_POSITION_FOLLOWING | 11 PASS b2.compareDocumentPosition(b3) is Node.DOCUMENT_POSITION_FOLLOWING |
12 PASS a1.compareDocumentPosition(b1) is Node.DOCUMENT_POSITION_DISCONNECTED | Nod
e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 12 PASS a1.compareDocumentPosition(b1) & Node.DOCUMENT_POSITION_PRECEDING || a1.com
pareDocumentPosition(b1) & Node.DOCUMENT_POSITION_FOLLOWING is non-zero. |
13 PASS b1.compareDocumentPosition(c1) is Node.DOCUMENT_POSITION_DISCONNECTED | Nod
e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC | 13 PASS a1.compareDocumentPosition(b1) & Node.DOCUMENT_POSITION_DISCONNECTED is Nod
e.DOCUMENT_POSITION_DISCONNECTED |
| 14 PASS a1.compareDocumentPosition(b1) & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPEC
IFIC is Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC |
| 15 PASS a1.compareDocumentPosition(b1) is a1.compareDocumentPosition(b1) |
| 16 PASS b1.compareDocumentPosition(c1) & Node.DOCUMENT_POSITION_PRECEDING || b1.com
pareDocumentPosition(c1) & Node.DOCUMENT_POSITION_FOLLOWING is non-zero. |
| 17 PASS b1.compareDocumentPosition(c1) & Node.DOCUMENT_POSITION_DISCONNECTED is Nod
e.DOCUMENT_POSITION_DISCONNECTED |
| 18 PASS b1.compareDocumentPosition(c1) & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPEC
IFIC is Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC |
| 19 PASS b1.compareDocumentPosition(c1) is b1.compareDocumentPosition(c1) |
14 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
15 | 21 |
16 TEST COMPLETE | 22 TEST COMPLETE |
17 | 23 |
OLD | NEW |