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

Unified Diff: LayoutTests/fast/dom/shadow/style-with-hat.html

Issue 210953003: Make style independent of the presence of the <shadow> element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/style-with-hat.html
diff --git a/LayoutTests/fast/dom/shadow/style-with-hat.html b/LayoutTests/fast/dom/shadow/style-with-hat.html
index d921da2858a324001e41f112926783a06101913c..2071cbdca7894be08f9db2859bdd9412b2bad436 100644
--- a/LayoutTests/fast/dom/shadow/style-with-hat.html
+++ b/LayoutTests/fast/dom/shadow/style-with-hat.html
@@ -264,12 +264,12 @@ borderColorShouldBe('host/host2/target', 'rgb(0, 0, 0)');
cleanUp();
-// div /shadow/ span in an insert shadow tree cannot match any element in active shadow tree.
+// div /shadow/ span in an older shadow tree cannot match any element in active shadow tree.
sandbox.appendChild(
createDOM('div', {'id': 'host'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode('div /shadow/ span { border: 1px solid red; }')),
+ document.createTextNode('div /shadow/ span { border: 1px solid green; }')),
createDOM('span', {},
document.createTextNode('some text'))),
createShadowRoot(
@@ -278,7 +278,7 @@ sandbox.appendChild(
createDOM('span', {'id': 'target'},
document.createTextNode('green border')))))));
-borderColorShouldNotBe('host//host2/target', 'rgb(255, 0, 0)');
+borderColorShouldBe('host//host2/target', 'rgb(0, 128, 0)');
cleanUp();
« no previous file with comments | « LayoutTests/fast/dom/shadow/style-with-cat-expected.txt ('k') | LayoutTests/fast/dom/shadow/style-with-hat-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698