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

Unified Diff: third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html

Issue 2051373002: Rewrite and organize tests in LayoutTests/shadow-dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean-test2-3
Patch Set: clean up Created 4 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
Index: third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html b/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
deleted file mode 100644
index 0d9825711abca706f47cdcc58a16ea990a240eb8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/shadow-dom/get-destination-insertion-points.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/js-test.js"></script>
-<script src="../fast/dom/shadow/resources/shadow-dom.js"></script>
-<body></body>
-<script>
-description("Tests for getDestinationInsertionPoints().");
-
-document.body.appendChild(
- createDOM('div', {},
- createDOM('div', {'id': 'host-1'},
- createShadowRoot(
- createDOM('content', {'id': 'content-1'})),
- createDOM('div', {'id': 'child-1'}))));
-
-shouldBeEqualAsArray(document.getElementById('child-1').getDestinationInsertionPoints(),
- [getNodeInComposedTree('host-1/content-1')]);
-
-debug('Insertion points should be inactive in v1 shadow trees.');
-
-document.body.appendChild(
- createDOM('div', {},
- createDOM('div', {'id': 'host-2'},
- attachShadow(
- {'mode': 'open'},
- createDOM('content', {'id': 'content-2'})),
- createDOM('div', {'id': 'child-2'}))));
-
-shouldBe('document.getElementById("child-2").getDestinationInsertionPoints().length', '0');
-
-document.body.appendChild(
- createDOM('div', {},
- createDOM('div', {'id': 'host-3'},
- attachShadow(
- {'mode': 'closed'},
- createDOM('content', {'id': 'content-3'})),
- createDOM('div', {'id': 'child-3'}))));
-
-shouldBe('document.getElementById("child-3").getDestinationInsertionPoints().length', '0');
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698