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

Unified Diff: LayoutTests/fast/css/content-distributed-nodes.html

Issue 1298173004: Implement proposed shadow tree cascade order. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed expected results and added another TODO. Created 5 years, 4 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/css/content-distributed-nodes-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/content-distributed-nodes.html
diff --git a/LayoutTests/fast/css/content-distributed-nodes.html b/LayoutTests/fast/css/content-distributed-nodes.html
index 5f9f2395217866055ee7c74512cbf74aec3595e3..0e5f7cc580e7424181f578c10daffb2353735168 100644
--- a/LayoutTests/fast/css/content-distributed-nodes.html
+++ b/LayoutTests/fast/css/content-distributed-nodes.html
@@ -2,7 +2,7 @@
<script src="../../resources/js-test.js"></script>
<div id="host">
<div>
- <span class="red" id="span">red?</span>
+ <span class="red" id="span">There should be no red</span>
</div>
</div>
<script>
@@ -12,6 +12,6 @@ root.innerHTML = '<div><content></content></div><style>::content .red { color: g
var root2 = root.firstChild.createShadowRoot();
root2.innerHTML = '<style>::content .red { background-color: green; color: red; }</style><content></content>';
var span = document.querySelector('#span');
-shouldBeEqualToString('getComputedStyle(span).color', 'rgb(255, 0, 0)');
+shouldBeEqualToString('getComputedStyle(span).color', 'rgb(0, 128, 0)');
shouldBeEqualToString('getComputedStyle(span).backgroundColor', 'rgb(0, 128, 0)');
</script>
« no previous file with comments | « no previous file | LayoutTests/fast/css/content-distributed-nodes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698