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

Unified Diff: LayoutTests/fast/dom/shadow/content-pseudo-element-with-host-pseudo-class-2.html

Issue 205563004: Revert of Implement /content/ combinator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed patch conflict Created 6 years, 9 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/content-pseudo-element-with-host-pseudo-class-2.html
diff --git a/LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html b/LayoutTests/fast/dom/shadow/content-pseudo-element-with-host-pseudo-class-2.html
similarity index 77%
rename from LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html
rename to LayoutTests/fast/dom/shadow/content-pseudo-element-with-host-pseudo-class-2.html
index d7172779c8ad4a38f2d9c679ac7b582ffac51473..48414cbc37e8f3402ae06fedf7e46d32a7698586 100644
--- a/LayoutTests/fast/dom/shadow/content-combinator-with-host-pseudo-class-2.html
+++ b/LayoutTests/fast/dom/shadow/content-pseudo-element-with-host-pseudo-class-2.html
@@ -9,7 +9,7 @@
<pre id="console"></pre>
</body>
<script>
-description("Test for crbug.com/274063: cannot style /content/ with a rule that includes :host.");
+description("Test for crbug.com/274063: cannot style ::content with a rule that includes :host.");
var sandbox = document.getElementById('sandbox');
@@ -17,11 +17,11 @@ sandbox.appendChild(
createDOM('div', {'id': 'host1'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode(':host > div > content /content/ * { color: green; }')),
+ document.createTextNode(':host > div > ::content > * { color: green; }')),
createDOM('div', {'id': 'host2'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode(':host > content /content/ * { color: red; }')),
+ document.createTextNode(':host > ::content > * { color: red; }')),
createDOM('content', {'id': 'content2'})),
createDOM('content', {'id': 'content1'}))),
createDOM('div', {'class': 'content'},

Powered by Google App Engine
This is Rietveld 408576698