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