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

Unified Diff: LayoutTests/fast/dom/shadow/content-combinator-in-inert-shadow.html

Issue 187353003: Implement /content/ combinator. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing 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-combinator-in-inert-shadow.html
diff --git a/LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html b/LayoutTests/fast/dom/shadow/content-combinator-in-inert-shadow.html
similarity index 85%
copy from LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html
copy to LayoutTests/fast/dom/shadow/content-combinator-in-inert-shadow.html
index 284541dbb6fb6920170a0ccd5ebe7900101d4a70..d2ed33f0fd3482177a1bba928f6cb2d35880b548 100644
--- a/LayoutTests/fast/dom/shadow/content-pseudo-element-in-inert-shadow.html
+++ b/LayoutTests/fast/dom/shadow/content-combinator-in-inert-shadow.html
@@ -26,14 +26,14 @@ function cleanUp()
document.getElementById('sandbox').innerHTML = '';
}
-description('crbug.com/341372: Test for rules with ::content declared in inert shadow trees');
+description('crbug.com/341372: Test for rules with /content/ combinator declared in inert shadow trees');
var sandbox = document.getElementById('sandbox');
sandbox.appendChild(
createDOM('div', {'id': 'host'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode('content::content div { border: 1px solid red; }'),
+ document.createTextNode('content /content/ div { border: 1px solid red; }'),
createDOM('div', {},
document.createTextNode('inert')))),
createShadowRoot(

Powered by Google App Engine
This is Rietveld 408576698