Index: third_party/WebKit/LayoutTests/shadow-dom/slots-in-document-tree.html |
diff --git a/third_party/WebKit/LayoutTests/shadow-dom/slots-in-document-tree.html b/third_party/WebKit/LayoutTests/shadow-dom/slots-in-document-tree.html |
deleted file mode 100644 |
index c0458ecab1f7f34ed4024edd44fb929b80fa6aad..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/shadow-dom/slots-in-document-tree.html |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-<!DOCTYPE html> |
-<script src="../resources/testharness.js"></script> |
-<script src="../resources/testharnessreport.js"></script> |
-<script src="resources/shadow-dom.js"></script> |
-<div id="wrapper"> |
- <slot id="slot1"></slot> |
- <slot id="slot2"> |
- <div id="child1"></div> |
- </slot> |
- <slot id="slot3"> |
- <div id="child2"></div> |
- <slot id="slot4"> |
- <div id="child3"></div> |
- <div id="child4"></div> |
- </slot> |
- </slot> |
-</div> |
-<script> |
-'use strict'; |
- |
-removeWhiteSpaceOnlyTextNodes(wrapper); |
- |
-test(() => { |
- assert_equals(child1.assignedSlot, null); |
- assert_equals(child2.assignedSlot, null); |
- assert_equals(child3.assignedSlot, null); |
- assert_equals(child4.assignedSlot, null); |
-}, 'assignedSlot'); |
- |
-test(() => { |
- assert_array_equals(slot1.assignedNodes(), []); |
- assert_array_equals(slot2.assignedNodes(), []); |
- assert_array_equals(slot3.assignedNodes(), []); |
- assert_array_equals(slot4.assignedNodes(), []); |
-}, 'assignedNodes'); |
- |
-test(() => { |
- assert_array_equals(slot1.assignedNodes({ flatten: true }), []); |
- assert_array_equals(slot2.assignedNodes({ flatten: true }), [child1]); |
- assert_array_equals(slot3.assignedNodes({ flatten: true }), [child2, child3, child4]); |
- assert_array_equals(slot4.assignedNodes({ flatten: true }), [child3, child4]); |
-}, 'assignedNodes({ flatten: true })'); |
-</script> |