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

Side by Side Diff: LayoutTests/fast/dom/shadow/custom-pseudo-in-selector-api.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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script src="resources/shadow-dom.js"></script> 5 <script src="resources/shadow-dom.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <div id='sandbox'></div> 8 <div id='sandbox'></div>
9 <pre id='console'></pre> 9 <pre id='console'></pre>
10 <script> 10 <script>
11 description('Test for crbug.com/273960. Vendor prefixed pseudo elements should n ot cause DOM exception 12 when using querySelector, querySelectorAll and webkitM atchesSelector.'); 11 description('Test for crbug.com/273960. Vendor prefixed pseudo elements should n ot cause DOM exception 12 when using querySelector, querySelectorAll and webkitM atchesSelector.');
12 12
13 var sandbox = document.getElementById('sandbox'); 13 var sandbox = document.getElementById('sandbox');
14 14
(...skipping 17 matching lines...) Expand all
32 shouldBeNull('sandbox.firstChild.querySelector("div::part(x-part)")'); 32 shouldBeNull('sandbox.firstChild.querySelector("div::part(x-part)")');
33 shouldBe('sandbox.firstChild.querySelectorAll("div::x-pseudo").length', '0'); 33 shouldBe('sandbox.firstChild.querySelectorAll("div::x-pseudo").length', '0');
34 shouldBe('sandbox.firstChild.querySelectorAll("div::x-part").length', '0'); 34 shouldBe('sandbox.firstChild.querySelectorAll("div::x-part").length', '0');
35 shouldBe('sandbox.firstChild.querySelectorAll("div::part(x-part)").length', '0') ; 35 shouldBe('sandbox.firstChild.querySelectorAll("div::part(x-part)").length', '0') ;
36 36
37 sandbox.innerHTML = ''; 37 sandbox.innerHTML = '';
38 </script> 38 </script>
39 </body> 39 </body>
40 </html> 40 </html>
41 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698