Index: third_party/WebKit/LayoutTests/fast/dom/shadow/host-context-pseudo-class-css-text.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/host-context-pseudo-class-css-text.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/host-context-pseudo-class-css-text.html |
index a542d4e0613ff3ca587e07e75a53581cef9c6b53..2cae1d0d699d71a6131779f9066f2312899a8f5e 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/host-context-pseudo-class-css-text.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/host-context-pseudo-class-css-text.html |
@@ -3,7 +3,7 @@ |
<head> |
<script src="../../../resources/js-test.js"></script> |
<style id="style1"> |
-.foo:host-context(div, body.mytheme, p#myid, .bar::before, span:hover) > div { display: block; } |
+.foo:host-context(div, body.mytheme, p#myid, .bar:first-child, span:hover) > div { display: block; } |
:host-context(*) { display: block; } |
</style> |
<style id="style-invalid"> |
@@ -17,7 +17,7 @@ |
</head> |
<script> |
description("Test for cssText of ':host-context()' rule."); |
-shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).cssText", ".foo:host-context(div,body.mytheme,p#myid,.bar::before,span:hover) > div { display: block; }"); |
+shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).cssText", ".foo:host-context(div,body.mytheme,p#myid,.bar:first-child,span:hover) > div { display: block; }"); |
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(1).cssText", ":host-context(*) { display: block; }"); |
shouldBe("document.getElementById('style-invalid').sheet.cssRules.length", "0"); |
</script> |