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

Unified Diff: LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-css-text.html

Issue 15657003: Make a '::distributed' pseudo element the first-ever client who can accept a relative selector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Introduce m_relationIsForShadowDistributed Created 7 years, 7 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/distributed-pseudo-element-relative-selector-css-text.html
diff --git a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.html b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-css-text.html
similarity index 67%
copy from LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.html
copy to LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-css-text.html
index 0ddef672b90a20053cb2a4613627150cc0231f1d..b2828107c3d03dfad524f4a47a74b0011fd23bd5 100644
--- a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.html
+++ b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-relative-selector-css-text.html
@@ -3,12 +3,12 @@
<head>
<script src="../../js/resources/js-test-pre.js"></script>
<style id="style1">
-.foo::-webkit-distributed(div .bar::before) { display: block; }
+.foo::-webkit-distributed(> div .bar::before) { display: block; }
</style>
</head>
<script>
description("Test for cssText of '::distributed()' rule.");
-shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).cssText", ".foo::-webkit-distributed(div .bar::before) { display: block; }");
+shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).cssText", ".foo::-webkit-distributed(> div .bar::before) { display: block; }");
</script>
<script src="../../js/resources/js-test-post.js"></script>
</html>

Powered by Google App Engine
This is Rietveld 408576698