Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: third_party/WebKit/LayoutTests/shadow-dom/treeRoot.html

Issue 1774113002: Move Shadow DOM V1 tests from fast/dom/shadow to shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698