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

Unified Diff: LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt

Issue 138023007: Renamed :host to :ancestor and made :host to match only shadow host. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/host-pseudo-class-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt b/LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt
index b7ed765844787d964f09b2216c6a4f82bab1c854..16d067dc57b87f94d8f170d3fe450f99f422102c 100644
--- a/LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt
+++ b/LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt
@@ -17,22 +17,18 @@ PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
:host in a shadow tree should match its shadow host.
PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
+:host with :ancestor in a shadow tree should match its shadow host.
+PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
:host takes simple selectors and matches when one of the simple selectors matches.
PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
:host matches a shadow host in just a nested shadow tree, not all enclosing shadow trees.
PASS backgroundColorOf('host1') is "rgba(0, 0, 0, 0)"
PASS backgroundColorOf('host1/host2') is "rgb(0, 128, 0)"
-:host matches based on a composed tree.
-PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)"
-:host matches based on a composed tree when having multiple shadow roots.
-PASS backgroundColorOf('host/targetA') is "rgba(0, 0, 0, 0)"
-PASS backgroundColorOf('host/targetB') is "rgb(0, 128, 0)"
-PASS backgroundColorOf('host/targetC') is "rgb(0, 128, 0)"
-:host is updated when its matched ancestor changes className or id.
+:host is updated when its matched host changes className or id.
PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
-PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
+PASS backgroundColorOf('host2') is "rgba(0, 0, 0, 0)"
Compare :host with :host.
PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
PASS backgroundColorOf('host') is "rgb(255, 0, 0)"

Powered by Google App Engine
This is Rietveld 408576698