| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../../../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <div id="host-parent"> | 4 <div id="host-parent"> |
| 5 <div id="host"> | 5 <div id="host"> |
| 6 </div> | 6 </div> |
| 7 <div id="slotted"></div> | 7 <div id="slotted"></div> |
| 8 </div> | 8 </div> |
| 9 <div id="host-parent2"> | 9 <div id="host-parent2"> |
| 10 <div id="host2"> | 10 <div id="host2"> |
| 11 </div> | 11 </div> |
| 12 <div id="distributed" id="distributed"></div> | 12 <div id="distributed" id="distributed"></div> |
| 13 </div> | 13 </div> |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 assert_equals(hostParent2.treeRoot, document); | 75 assert_equals(hostParent2.treeRoot, document); |
| 76 assert_equals(host2.treeRoot, document); | 76 assert_equals(host2.treeRoot, document); |
| 77 assert_equals(root2.treeRoot, root2); | 77 assert_equals(root2.treeRoot, root2); |
| 78 assert_equals(child2.treeRoot, root2); | 78 assert_equals(child2.treeRoot, root2); |
| 79 assert_equals(grandchild2.treeRoot, root2); | 79 assert_equals(grandchild2.treeRoot, root2); |
| 80 assert_equals(content.treeRoot, root2); | 80 assert_equals(content.treeRoot, root2); |
| 81 assert_equals(distributed.treeRoot, document); | 81 assert_equals(distributed.treeRoot, document); |
| 82 }, 'Node.treeRoot works with a v0 shadow tree as well.'); | 82 }, 'Node.treeRoot works with a v0 shadow tree as well.'); |
| 83 | 83 |
| 84 </script> | 84 </script> |
| OLD | NEW |