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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/ranges/Range-commonAncestorContainer.html

Issue 2012333004: Fix testharness paths in imported/wpt/{dom,html}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 <title>Range.commonAncestorContainer tests</title> 2 <title>Range.commonAncestorContainer tests</title>
3 <link rel="author" title="Aryeh Gregor" href=ayg@aryeh.name> 3 <link rel="author" title="Aryeh Gregor" href=ayg@aryeh.name>
4 <meta name=timeout content=long> 4 <meta name=timeout content=long>
5 <div id=log></div> 5 <div id=log></div>
6 <script src=../../../../resources/testharness.js></script> 6 <script src=/resources/testharness.js></script>
7 <script src=../../../../resources/testharnessreport.js></script> 7 <script src=/resources/testharnessreport.js></script>
8 <script src=../common.js></script> 8 <script src=../common.js></script>
9 <script> 9 <script>
10 "use strict"; 10 "use strict";
11 11
12 testRanges.unshift("[detached]"); 12 testRanges.unshift("[detached]");
13 13
14 for (var i = 0; i < testRanges.length; i++) { 14 for (var i = 0; i < testRanges.length; i++) {
15 test(function() { 15 test(function() {
16 var range; 16 var range;
17 if (i == 0) { 17 if (i == 0) {
(...skipping 13 matching lines...) Expand all
31 container = container.parentNode; 31 container = container.parentNode;
32 } 32 }
33 33
34 // "Return container." 34 // "Return container."
35 assert_equals(range.commonAncestorContainer, container); 35 assert_equals(range.commonAncestorContainer, container);
36 }, i + ": range " + testRanges[i]); 36 }, i + ": range " + testRanges[i]);
37 } 37 }
38 38
39 testDiv.style.display = "none"; 39 testDiv.style.display = "none";
40 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698