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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudo-attribute.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 <body> 3 <body>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 5
6 <p>This test checks pseudo attribute is exposed correctly.</p> 6 <p>This test checks pseudo attribute is exposed correctly.</p>
7 7
8 <pre id="console"></pre> 8 <pre id="console"></pre>
9 9
10 <script> 10 <script>
11 var div = document.createElement('div'); 11 var div = document.createElement('div');
12 12
13 shouldBe("div.pseudo", "''"); 13 shouldBe("div.pseudo", "''");
14 shouldBe("div.getAttribute('pseudo')", "null"); 14 shouldBe("div.getAttribute('pseudo')", "null");
(...skipping 11 matching lines...) Expand all
26 shouldBe("div.getAttribute('pseudo')", "null"); 26 shouldBe("div.getAttribute('pseudo')", "null");
27 27
28 // Checks pseudo accepts known pseudo-element word. 28 // Checks pseudo accepts known pseudo-element word.
29 div.pseudo = 'first-letter'; 29 div.pseudo = 'first-letter';
30 shouldBe("div.pseudo", "'first-letter'"); 30 shouldBe("div.pseudo", "'first-letter'");
31 31
32 finishJSTest(); 32 finishJSTest();
33 </script> 33 </script>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698