Index: third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html |
index d2ca493dc3f810e0129f4f6ff990ca7c1e1b0a1a..9c6678fcf98a6de1f39a47a99305f7670e8cccbd 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/content-pseudo-element-css-text.html |
@@ -7,6 +7,7 @@ |
::content { display: block; } |
div content::content div content::content div.green { color: green; } |
*::content * { color: blue; } |
+div::shadow::shadow::content { } |
</style> |
</head> |
<script> |
@@ -14,6 +15,7 @@ description("Test for cssText of '::content' rule."); |
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).cssText", ".foo::content div .bar::before { display: block; }"); |
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(1).cssText", "::content { display: block; }"); |
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(2).cssText", "div content::content div content::content div.green { color: green; }"); |
-shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(3).cssText", "*::content * { color: blue; }"); |
+shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(3).cssText", "::content * { color: blue; }"); |
+shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(4).cssText", "div::shadow::shadow::content { }"); // Should be dropped, really. |
</script> |
</html> |