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

Unified Diff: LayoutTests/fast/dom/HTMLTemplateElement/importNode-expected.txt

Issue 180293002: Add a test for template contents handling in importNode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/dom/HTMLTemplateElement/importNode.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLTemplateElement/importNode-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/importNode-expected.txt b/LayoutTests/fast/dom/HTMLTemplateElement/importNode-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..93850c9fa13e75ef3c9784c643cf653976a121b0
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/importNode-expected.txt
@@ -0,0 +1,16 @@
+Test that template contents are correctly cloned when the template element is imported.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS template.content.childNodes.length is 1
+PASS imported.content.childNodes.length is 1
+PASS imported.outerHTML is template.outerHTML
+PASS imported.content.firstChild is not template.content.firstChild
+PASS imported.content is not template.content
+PASS imported.firstChild.tagName is "DIV"
+PASS imported.firstChild is not div
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/HTMLTemplateElement/importNode.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698