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

Side by Side Diff: LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument.html

Issue 48903019: Delete js-test-post.js. (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 <template id="template"><span><template></template></span></template> 2 <template id="template"><span><template></template></span></template>
3 <template id="template2"><span></span></template> 3 <template id="template2"><span></span></template>
4 <template id="template3"><svg></svg></template> 4 <template id="template3"><svg></svg></template>
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../js/resources/js-test-pre.js"></script>
6 <script> 6 <script>
7 7
8 description('Test HTMLTemplateElement content ownerDocument'); 8 description('Test HTMLTemplateElement content ownerDocument');
9 9
10 var template = document.getElementById('template'); 10 var template = document.getElementById('template');
(...skipping 17 matching lines...) Expand all
28 var template2 = document.getElementById('template2'); 28 var template2 = document.getElementById('template2');
29 shouldBe('template2.ownerDocument', 'document'); 29 shouldBe('template2.ownerDocument', 'document');
30 shouldBe('template2.content.ownerDocument', 'templateContentOwnerDocument'); 30 shouldBe('template2.content.ownerDocument', 'templateContentOwnerDocument');
31 31
32 var template3 = document.getElementById('template3'); 32 var template3 = document.getElementById('template3');
33 shouldBe('template3.ownerDocument', 'document'); 33 shouldBe('template3.ownerDocument', 'document');
34 shouldBe('template3.content.ownerDocument', 'templateContentOwnerDocument'); 34 shouldBe('template3.content.ownerDocument', 'templateContentOwnerDocument');
35 shouldBe('template3.content.firstChild.ownerDocument', 'templateContentOwnerDocu ment'); 35 shouldBe('template3.content.firstChild.ownerDocument', 'templateContentOwnerDocu ment');
36 36
37 </script> 37 </script>
38 <script src="../../js/resources/js-test-post.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698