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'))))); |