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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Node-isEqualNode.html

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <meta charset="utf-8"> 2 <meta charset="utf-8">
3 <title>Node.prototype.isEqualNode</title> 3 <title>Node.prototype.isEqualNode</title>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-isequalnode"> 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-isequalnode">
5 <script src="../../../../resources/testharness.js"></script> 5 <script src="../../../../resources/testharness.js"></script>
6 <script src="../../../../resources/testharnessreport.js"></script> 6 <script src="../../../../resources/testharnessreport.js"></script>
7 7
8 <script> 8 <script>
9 "use strict"; 9 "use strict";
10 10
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 var parentB = parentFactory(); 152 var parentB = parentFactory();
153 153
154 parentA.appendChild(document.createComment("data")); 154 parentA.appendChild(document.createComment("data"));
155 assert_false(parentA.isEqualNode(parentB)); 155 assert_false(parentA.isEqualNode(parentB));
156 parentB.appendChild(document.createComment("data")); 156 parentB.appendChild(document.createComment("data"));
157 assert_true(parentA.isEqualNode(parentB)); 157 assert_true(parentA.isEqualNode(parentB));
158 } 158 }
159 159
160 }, "node equality testing should test descendant equality too"); 160 }, "node equality testing should test descendant equality too");
161 </script> 161 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698