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

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

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/host-pseudo-class.html
diff --git a/LayoutTests/fast/dom/shadow/host-pseudo-class.html b/LayoutTests/fast/dom/shadow/host-pseudo-class.html
index 925fb686dd59e41d41aab9edf6989aab3c28ea27..1d86b4604ddfd5c5ab1780e20ac38c5d05ebf2bb 100644
--- a/LayoutTests/fast/dom/shadow/host-pseudo-class.html
+++ b/LayoutTests/fast/dom/shadow/host-pseudo-class.html
@@ -127,13 +127,13 @@ backgroundColorShouldBe('host', 'rgb(0, 128, 0)');
cleanUp();
-debug(':host with :ancestor in a shadow tree should match its shadow host.');
+debug(':host with :host-context in a shadow tree should match its shadow host.');
sandbox.appendChild(
createDOM('div', {'id': 'host', 'class': 'foobar'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode(':host(:ancestor(body.mytheme)) { background-color: green; }')),
+ document.createTextNode(':host(:host-context(body.mytheme)) { background-color: green; }')),
createDOM('div', {},
document.createTextNode('Hello')))));

Powered by Google App Engine
This is Rietveld 408576698