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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-insertAdjacentElement.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></title> 3 <title></title>
4 <script src=../../../../resources/testharness.js></script> 4 <script src=../../../../resources/testharness.js></script>
5 <script src=../../../../resources/testharnessreport.js></script> 5 <script src=../../../../resources/testharnessreport.js></script>
6 6
7 <div id="target"></div> 7 <div id="target"></div>
8 <div id="parent"><span id=target2></span></div> 8 <div id="parent"><span id=target2></span></div>
9 <div id="log" style="visibility:visible"></div> 9 <div id="log" style="visibility:visible"></div>
10 <span id="test1"></span> 10 <span id="test1"></span>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 assert_equals(docElement.lastChild.id, "test3"); 82 assert_equals(docElement.lastChild.id, "test3");
83 assert_equals(el.id, "test3"); 83 assert_equals(el.id, "test3");
84 84
85 assert_throws("HierarchyRequestError", function() { 85 assert_throws("HierarchyRequestError", function() {
86 var el = docElement.insertAdjacentElement("afterend", document.getElementByI d("test4")); 86 var el = docElement.insertAdjacentElement("afterend", document.getElementByI d("test4"));
87 assert_equals(el, null); 87 assert_equals(el, null);
88 }); 88 });
89 }, "Adding more than one child to document should cause a HierarchyRequestError exception") 89 }, "Adding more than one child to document should cause a HierarchyRequestError exception")
90 90
91 </script> 91 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698