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

Unified Diff: LayoutTests/fast/dom/shadow/insertion-parent.html

Issue 15757013: Remove an experimental webkitInsertionParent API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 | « no previous file | LayoutTests/fast/dom/shadow/insertion-parent-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/insertion-parent.html
diff --git a/LayoutTests/fast/dom/shadow/insertion-parent.html b/LayoutTests/fast/dom/shadow/insertion-parent.html
deleted file mode 100644
index b0dadea6495cb1de1573325eb02570701d6fd51b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/dom/shadow/insertion-parent.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script src="../../js/resources/js-test-pre.js"></script>
-<script src="resources/shadow-dom.js"></script>
-</head>
-<body>
-<script>
-description("Tests for node's insertionParent().");
-
-var textNode = document.createTextNode('hello');
-
-document.body.appendChild(
- createDOM('div', {},
- createDOM('div', {'id': 'host-1'},
- createShadowRoot(
- createDOM('content', {'id': 'content-1'})),
- createDOM('div', {'id': 'child'})),
- createDOM('div', {'id': 'host-2'},
- createShadowRoot(
- createDOM('content', {'id': 'content-2', 'select': '.cls'}),
- createDOM('div', {'id': 'host-3'},
- createShadowRoot(
- createDOM('content', {'id': 'content-3'})),
- createDOM('content'))),
- createDOM('div', {'id': 'reprojected-child', 'class': 'cls'}),
- textNode)));
-
-document.body.offsetLeft;
-
-shouldBeUndefined("document.webkitInsertionParent");
-shouldBeNull("document.getElementById('host-1').webkitInsertionParent");
-shouldBeEqualToString("document.getElementById('child').webkitInsertionParent.id", "content-1");
-shouldBeEqualToString("document.getElementById('reprojected-child').webkitInsertionParent.id", "content-2");
-shouldBeEqualToString("textNode.webkitInsertionParent.id", "content-3");
-</script>
-<script src="../../js/resources/js-test-post.js"></script>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/insertion-parent-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698