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

Side by Side Diff: LayoutTests/fast/dom/SelectorAPI/caseID.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <div style="display: none"> 6 <div style="display: none">
7 <span id="lower1">lower 1</span><br> 7 <span id="lower1">lower 1</span><br>
8 <span id="lower2">lower 2</span><br> 8 <span id="lower2">lower 2</span><br>
9 <span id="UPPER1">UPPER 1</span><br> 9 <span id="UPPER1">UPPER 1</span><br>
10 <span id="UPPER2">UPPER 2</span><br> 10 <span id="UPPER2">UPPER 2</span><br>
11 </div> 11 </div>
12 <script> 12 <script>
13 shouldBe("document.querySelector('#lower1').textContent", "'lower 1'"); 13 shouldBe("document.querySelector('#lower1').textContent", "'lower 1'");
14 shouldBe("document.querySelector('#LOWER2').textContent", "'lower 2'"); 14 shouldBe("document.querySelector('#LOWER2').textContent", "'lower 2'");
15 shouldBe("document.querySelector('#UPPER1').textContent", "'UPPER 1'"); 15 shouldBe("document.querySelector('#UPPER1').textContent", "'UPPER 1'");
16 shouldBe("document.querySelector('#upper2').textContent", "'UPPER 2'"); 16 shouldBe("document.querySelector('#upper2').textContent", "'UPPER 2'");
17 17
18 shouldBeTrue("document.getElementById('lower1').webkitMatchesSelector('# lower1')"); 18 shouldBeTrue("document.getElementById('lower1').webkitMatchesSelector('# lower1')");
19 shouldBeTrue("document.getElementById('lower2').webkitMatchesSelector('# LOWER2')"); 19 shouldBeTrue("document.getElementById('lower2').webkitMatchesSelector('# LOWER2')");
20 shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('# UPPER1')"); 20 shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('# UPPER1')");
21 shouldBeTrue("document.getElementById('UPPER2').webkitMatchesSelector('# upper2')"); 21 shouldBeTrue("document.getElementById('UPPER2').webkitMatchesSelector('# upper2')");
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Selection/getRangeAt.html ('k') | LayoutTests/fast/dom/SelectorAPI/caseID-almost-strict.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698