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

Unified Diff: LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html

Issue 197283016: Revert node.contains to the original behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/contains-with-shadow-dom-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html
diff --git a/LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html b/LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html
index fbe858863030f3f4d5890c08530853a099fbf34c..57730c5050b6992d1494263b3a09c5b5eac1feaa 100644
--- a/LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html
+++ b/LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html
@@ -22,9 +22,9 @@ document.getElementById('sandbox').appendChild(
// Comparing a document with a node in a shadow tree.
-shouldBeTrue('document.contains(getNodeInTreeOfTrees("shadowHostA/"))');
+shouldBeFalse('document.contains(getNodeInTreeOfTrees("shadowHostA/"))');
shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/").contains(document)');
-shouldBeTrue('document.contains(getNodeInTreeOfTrees("shadowHostA/divA"))');
+shouldBeFalse('document.contains(getNodeInTreeOfTrees("shadowHostA/divA"))');
shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/divA").contains(document)');
// Comparing a node in document with a node in a shadow tree.
@@ -32,7 +32,7 @@ shouldBeTrue('getNodeInTreeOfTrees("shadowHostA/").contains(getNodeInTreeOfTrees
shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/divA").contains(getNodeInTreeOfTrees("shadowHostA/"))');
// Comparing a node in a shadow tree with a node in a shadow tree enclosing the first tree.
-shouldBeTrue('getNodeInTreeOfTrees("shadowHostA/").contains(getNodeInTreeOfTrees("shadowHostA/shadowHostB/"))');
+shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/").contains(getNodeInTreeOfTrees("shadowHostA/shadowHostB/"))');
shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/shadowHostB/").contains(getNodeInTreeOfTrees("shadowHostA/"))');
shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/divA").contains(getNodeInTreeOfTrees("shadowHostA/shadowHostB/divB"))');
shouldBeFalse('getNodeInTreeOfTrees("shadowHostA/shadowHostB/divB").contains(getNodeInTreeOfTrees("shadowHostA/divA"))');
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/contains-with-shadow-dom-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698