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

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

Issue 21123005: Node.contains should return true for nodes in Shadow DOM. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make contains-something condition clearer. Created 7 years, 5 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 | « LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html ('k') | Source/core/dom/Node.h » ('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-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/contains-with-shadow-dom-expected.txt b/LayoutTests/fast/dom/shadow/contains-with-shadow-dom-expected.txt
index 6202f4a0c43611fd991f379fd0c7e8eeaf6a9a14..efbe5ff763796c4c2cc730f18b9b50564f571a4f 100644
--- a/LayoutTests/fast/dom/shadow/contains-with-shadow-dom-expected.txt
+++ b/LayoutTests/fast/dom/shadow/contains-with-shadow-dom-expected.txt
@@ -3,13 +3,13 @@ Tests for node's contains().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS document.contains(getNodeInShadowTreeStack("shadowHostA/")) is false
+PASS document.contains(getNodeInShadowTreeStack("shadowHostA/")) is true
PASS getNodeInShadowTreeStack("shadowHostA/").contains(document) is false
-PASS document.contains(getNodeInShadowTreeStack("shadowHostA/divA")) is false
+PASS document.contains(getNodeInShadowTreeStack("shadowHostA/divA")) is true
PASS getNodeInShadowTreeStack("shadowHostA/divA").contains(document) is false
PASS getNodeInShadowTreeStack("shadowHostA/").contains(getNodeInShadowTreeStack("shadowHostA/divA")) is true
PASS getNodeInShadowTreeStack("shadowHostA/divA").contains(getNodeInShadowTreeStack("shadowHostA/")) is false
-PASS getNodeInShadowTreeStack("shadowHostA/").contains(getNodeInShadowTreeStack("shadowHostA/shadowHostB/")) is false
+PASS getNodeInShadowTreeStack("shadowHostA/").contains(getNodeInShadowTreeStack("shadowHostA/shadowHostB/")) is true
PASS getNodeInShadowTreeStack("shadowHostA/shadowHostB/").contains(getNodeInShadowTreeStack("shadowHostA/")) is false
PASS getNodeInShadowTreeStack("shadowHostA/divA").contains(getNodeInShadowTreeStack("shadowHostA/shadowHostB/divB")) is false
PASS getNodeInShadowTreeStack("shadowHostA/shadowHostB/divB").contains(getNodeInShadowTreeStack("shadowHostA/divA")) is false
« no previous file with comments | « LayoutTests/fast/dom/shadow/contains-with-shadow-dom.html ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698