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

Side by Side Diff: LayoutTests/fast/dom/DocumentFragment/parent-node-interface.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 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 <script> 4 <script>
5 5
6 description('This tests that DocumentFragment implements the ParentNode interfac e.'); 6 description('This tests that DocumentFragment implements the ParentNode interfac e.');
7 7
8 var documentFragment = new DocumentFragment(); 8 var documentFragment = new DocumentFragment();
9 9
10 shouldBe('documentFragment.children.length', '0'); 10 shouldBe('documentFragment.children.length', '0');
11 shouldBe('documentFragment.childElementCount', '0'); 11 shouldBe('documentFragment.childElementCount', '0');
12 shouldBeNull('documentFragment.firstElementChild'); 12 shouldBeNull('documentFragment.firstElementChild');
13 shouldBeNull('documentFragment.lastElementChild'); 13 shouldBeNull('documentFragment.lastElementChild');
(...skipping 28 matching lines...) Expand all
42 42
43 documentFragment.appendChild(new Text('e')); 43 documentFragment.appendChild(new Text('e'));
44 shouldBe('documentFragment.children.length', '2'); 44 shouldBe('documentFragment.children.length', '2');
45 shouldBe('documentFragment.childElementCount', '2'); 45 shouldBe('documentFragment.childElementCount', '2');
46 shouldBe('documentFragment.children[0]', 'b'); 46 shouldBe('documentFragment.children[0]', 'b');
47 shouldBe('documentFragment.children[1]', 'd'); 47 shouldBe('documentFragment.children[1]', 'd');
48 shouldBe('documentFragment.firstElementChild', 'b'); 48 shouldBe('documentFragment.firstElementChild', 'b');
49 shouldBe('documentFragment.lastElementChild', 'd'); 49 shouldBe('documentFragment.lastElementChild', 'd');
50 50
51 </script> 51 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698