OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
5 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <div id="sandbox"></div> | 9 <div id="sandbox"></div> |
10 <script> | 10 <script> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 getNodeInTreeOfTrees('a3/c1').removeChild(getNodeInTreeOfTrees('a3/c2')); | 56 getNodeInTreeOfTrees('a3/c1').removeChild(getNodeInTreeOfTrees('a3/c2')); |
57 | 57 |
58 shouldBeNonZero('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMEN
T_POSITION_PRECEDING || internals.compareTreeScopePosition(sr3, sr2) & Node.DOCU
MENT_POSITION_FOLLOWING'); | 58 shouldBeNonZero('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMEN
T_POSITION_PRECEDING || internals.compareTreeScopePosition(sr3, sr2) & Node.DOCU
MENT_POSITION_FOLLOWING'); |
59 shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSIT
ION_DISCONNECTED', 'Node.DOCUMENT_POSITION_DISCONNECTED'); | 59 shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSIT
ION_DISCONNECTED', 'Node.DOCUMENT_POSITION_DISCONNECTED'); |
60 shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSIT
ION_IMPLEMENTATION_SPECIFIC', 'Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC'); | 60 shouldBe('internals.compareTreeScopePosition(sr3, sr2) & Node.DOCUMENT_POSIT
ION_IMPLEMENTATION_SPECIFIC', 'Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC'); |
61 shouldBe('internals.compareTreeScopePosition(sr3, sr2)', 'internals.compareT
reeScopePosition(sr3, sr2)'); | 61 shouldBe('internals.compareTreeScopePosition(sr3, sr2)', 'internals.compareT
reeScopePosition(sr3, sr2)'); |
62 } | 62 } |
63 | 63 |
64 testCompareTreeScopePosition(); | 64 testCompareTreeScopePosition(); |
65 </script> | 65 </script> |
66 <script src="../../js/resources/js-test-post.js"></script> | |
67 </body> | 66 </body> |
68 </html> | 67 </html> |
OLD | NEW |