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

Unified Diff: LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html

Issue 203303002: SelectorChecker should update scope and behaviorAtBoundary for /content/ in SharingRules mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed regression caused by reverting /content/ 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html
diff --git a/LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html b/LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html
new file mode 100644
index 0000000000000000000000000000000000000000..1e97f15b83f03269789777810bff08a0080f7b4f
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<body>
+<div>
+ <header>
+ <h1>I should be plain</h1>
+ </header>
+ <header selected>
+ <h1>I should be red w/ a gray background</h1>
+ </header>
+</div>
+
+<script>
+var root = document.querySelector('div').createShadowRoot();
+root.innerHTML = '<style>:host content::content [selected] { color: green; }</style><content></content>';
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/style-sharing-with-content-and-host-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698