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

Unified Diff: LayoutTests/fast/dom/shadow/import-shadowroot.html

Issue 6993052: Merge 88137 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 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/ChangeLog ('k') | LayoutTests/fast/dom/shadow/import-shadowroot-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/import-shadowroot.html
===================================================================
--- LayoutTests/fast/dom/shadow/import-shadowroot.html (revision 88137)
+++ LayoutTests/fast/dom/shadow/import-shadowroot.html (working copy)
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<keygen id='K'/>
-<div id='X'></div>
-<pre id="console">
-This tests importNode() with bound elements.
-
-</pre>
-<script>
- if (window.layoutTestController) {
- layoutTestController.dumpAsText();
-
- var dstDoc = new DOMParser().parseFromString('<div/>', 'text/xml');
- shouldBeNonNull('dstDoc');
-
- var srcKeygen = document.getElementById('K');
- shouldBeNonNull('srcKeygen');
- var srcShadow = layoutTestController.shadowRoot(srcKeygen);
- shouldBeNonNull('srcShadow');
- shouldBeNonNull('srcShadow.firstChild');
-
- var importedKeygen = dstDoc.importNode(srcKeygen);
- shouldBeNonNull('importedKeygen');
- shouldBeTrue('srcKeygen !== importedKeygen');
-
- var importedShadow = layoutTestController.shadowRoot(importedKeygen);
- shouldBeNonNull('importedShadow');
- shouldBeNonNull('importedShadow.firstChild');
- }
-
- var successfullyParsed = true;
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/dom/shadow/import-shadowroot-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698