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

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

Issue 1408203003: Disable insertion points in v1 shadow trees. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v1-youngest-shadow-root-ref
Patch Set: remove expectations Created 5 years, 2 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/fast/dom/shadow/get-destination-insertion-points.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/get-destination-insertion-points.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/get-destination-insertion-points.html
index 4e820e37d775de58eb7a201fe0b94247c929b356..09bfb0fe4c018211921443a8d9bf19a138ccb22b 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/get-destination-insertion-points.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/get-destination-insertion-points.html
@@ -15,6 +15,8 @@ document.body.appendChild(
shouldBeEqualAsArray(document.getElementById('child-1').getDestinationInsertionPoints(),
[getNodeInTreeOfTrees('host-1/content-1')]);
+debug('Insertion points should be inactive in v1 shadow trees.');
+
document.body.appendChild(
createDOM('div', {},
createDOM('div', {'id': 'host-2'},
@@ -23,8 +25,7 @@ document.body.appendChild(
createDOM('content', {'id': 'content-2'})),
createDOM('div', {'id': 'child-2'}))));
-shouldBeEqualAsArray(document.getElementById('child-2').getDestinationInsertionPoints(),
- [getNodeInTreeOfTrees('host-2/content-2')]);
+shouldBe('document.getElementById("child-2").getDestinationInsertionPoints().length', '0');
document.body.appendChild(
createDOM('div', {},
@@ -34,7 +35,6 @@ document.body.appendChild(
createDOM('content', {'id': 'content-3'})),
createDOM('div', {'id': 'child-3'}))));
-debug('Only unclosed insertion points should be returned for getDestinationInsertionPoints().');
shouldBe('document.getElementById("child-3").getDestinationInsertionPoints().length', '0');
</script>

Powered by Google App Engine
This is Rietveld 408576698