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

Side by Side Diff: LayoutTests/fast/dom/shadow/content-element-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 </head> 5 </head>
6 <body> 6 <body>
7 <div> 7 <div>
8 <content id="content-simplest"></content> 8 <content id="content-simplest"></content>
9 </div> 9 </div>
10 <script> 10 <script>
11 description("This test ensure that the content element is available."); 11 description("This test ensure that the content element is available.");
12 var contentSimplest = document.getElementById("content-simplest"); 12 var contentSimplest = document.getElementById("content-simplest");
13 shouldBe("contentSimplest.select", "''"); 13 shouldBe("contentSimplest.select", "''");
14 contentSimplest.setAttribute("select", "foo"); 14 contentSimplest.setAttribute("select", "foo");
15 shouldBe("contentSimplest.select", "'foo'"); 15 shouldBe("contentSimplest.select", "'foo'");
16 contentSimplest.select = "bar" 16 contentSimplest.select = "bar"
17 shouldBe("contentSimplest.getAttribute('select')", "'bar'"); 17 shouldBe("contentSimplest.getAttribute('select')", "'bar'");
18 shouldBeTrue("0 <= contentSimplest.constructor.toString().indexOf('HTMLContentEl ement')"); 18 shouldBeTrue("0 <= contentSimplest.constructor.toString().indexOf('HTMLContentEl ement')");
19 shouldBe("window.HTMLContentElement", "contentSimplest.constructor"); 19 shouldBe("window.HTMLContentElement", "contentSimplest.constructor");
20 </script> 20 </script>
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html ('k') | LayoutTests/fast/dom/shadow/content-element-includer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698