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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/shadow-dom/scroll-to-the-fragment-in-shadow-tree.html

Issue 2018873002: Fix testharness paths in imported/wpt/* except dom and html. (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 <html> 2 <html>
3 <head> 3 <head>
4 <title>Shadow DOM: The indicated part of the document should not match an elemen t inside a shadow tree</title> 4 <title>Shadow DOM: The indicated part of the document should not match an elemen t inside a shadow tree</title>
5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org"> 5 <meta name="author" title="Ryosuke Niwa" href="mailto:rniwa@webkit.org">
6 <meta name="assert" content="An element inside a shadow tree should not be the i ndicated part of the document even if its ID is exactly equal to the decoded fra gid or its name attribute is exactly equal to the fragid"> 6 <meta name="assert" content="An element inside a shadow tree should not be the i ndicated part of the document even if its ID is exactly equal to the decoded fra gid or its name attribute is exactly equal to the fragid">
7 <link rel="help" href="https://html.spec.whatwg.org/multipage/browsers.html#scro ll-to-the-fragment-identifier"> 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/browsers.html#scro ll-to-the-fragment-identifier">
8 <script src="../../../resources/testharness.js"></script> 8 <script src="/resources/testharness.js"></script>
9 <script src="../../../resources/testharnessreport.js"></script> 9 <script src="/resources/testharnessreport.js"></script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <div id="log"></div> 12 <div id="log"></div>
13 <div id="testContainer"></div> 13 <div id="testContainer"></div>
14 <script> 14 <script>
15 15
16 var tests = [ 16 var tests = [
17 {test: async_test('The user agent scroll to the fragment when there is an el ement with an ID exactly equal to the decoded fragid'), 17 {test: async_test('The user agent scroll to the fragment when there is an el ement with an ID exactly equal to the decoded fragid'),
18 execute: testScrollingToElementInDocumentTree.bind(this, 'div')}, 18 execute: testScrollingToElementInDocumentTree.bind(this, 'div')},
19 {test: async_test('The user agent scroll to the fragment when there is an an chor element with a name attribute exactly equal to the decoded fragid'), 19 {test: async_test('The user agent scroll to the fragment when there is an an chor element with a name attribute exactly equal to the decoded fragid'),
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 clickFirstAnchorAndRunStep(test, function () { 118 clickFirstAnchorAndRunStep(test, function () {
119 assert_true(window.pageYOffset > testContainer.querySelector('#host').of fsetTop); 119 assert_true(window.pageYOffset > testContainer.querySelector('#host').of fsetTop);
120 }); 120 });
121 } 121 }
122 122
123 executeNextTest(); 123 executeNextTest();
124 124
125 </script> 125 </script>
126 </body> 126 </body>
127 </html> 127 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698