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

Unified Diff: LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt

Issue 210813003: Rename :ancestor to :host-context. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing 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
Index: LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt b/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt
index 37097527784d9c0a374dfbf036cf96fde5177250..70669cb98ce5552713e83f7beece1d3446e13d52 100644
--- a/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt
+++ b/LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep-expected.txt
@@ -24,10 +24,10 @@ PASS fooShadowRoot.querySelectorAll(":host(div#foo-host) /shadow/ span").length
PASS fooShadowRoot.querySelectorAll(":host(div#foo-host) /shadow/ span")[0].id is "not-top"
PASS fooShadowRoot.querySelectorAll(":host(div#foo-host) /shadow/ span")[1].id is "top"
PASS fooShadowRoot.querySelectorAll(":host(div#foo-host) /shadow/ span")[2].id is "inner-host"
-PASS fooShadowRoot.querySelectorAll(":ancestor(body) /shadow/ span").length is 3
-PASS fooShadowRoot.querySelectorAll(":ancestor(body) /shadow/ span")[0].id is "not-top"
-PASS fooShadowRoot.querySelectorAll(":ancestor(body) /shadow/ span")[1].id is "top"
-PASS fooShadowRoot.querySelectorAll(":ancestor(body) /shadow/ span")[2].id is "inner-host"
+PASS fooShadowRoot.querySelectorAll(":host-context(body) /shadow/ span").length is 3
+PASS fooShadowRoot.querySelectorAll(":host-context(body) /shadow/ span")[0].id is "not-top"
+PASS fooShadowRoot.querySelectorAll(":host-context(body) /shadow/ span")[1].id is "top"
+PASS fooShadowRoot.querySelectorAll(":host-context(body) /shadow/ span")[2].id is "inner-host"
PASS barHost.querySelectorAll("#bar-host /shadow/ span").length is 1
PASS barHost.querySelectorAll("#bar-host /shadow/ span")[0].id is "nested"
PASS barHost.querySelectorAll(":host :scope span").length is 1
@@ -40,10 +40,10 @@ PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /shadow/ span").length
PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /shadow/ span")[0].id is "nested"
PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /deep/ span").length is 1
PASS barShadowRoot.querySelectorAll(":host(div#bar-host) /deep/ span")[0].id is "nested"
-PASS barShadowRoot.querySelectorAll(":ancestor(div#foo-host) /shadow/ span").length is 1
-PASS barShadowRoot.querySelectorAll(":ancestor(div#foo-host) /shadow/ span")[0].id is "nested"
-PASS barShadowRoot.querySelectorAll(":ancestor(div#foo-host) /deep/ span").length is 1
-PASS barShadowRoot.querySelectorAll(":ancestor(div#foo-host) /deep/ span")[0].id is "nested"
+PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /shadow/ span").length is 1
+PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /shadow/ span")[0].id is "nested"
+PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /deep/ span").length is 1
+PASS barShadowRoot.querySelectorAll(":host-context(div#foo-host) /deep/ span")[0].id is "nested"
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/dom/shadow/querySelector-with-shadow-all-and-shadow-deep.html ('k') | Source/core/css/CSSGrammar.y » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698