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/style-with-cat.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-cat.html
diff --git a/LayoutTests/fast/dom/shadow/style-with-cat.html b/LayoutTests/fast/dom/shadow/style-with-cat.html
index 62294b5c8f701e38432dd323611ed6c497f7b7d3..2784d4020e17538b1946fa37d9f2d155e35e773b 100644
--- a/LayoutTests/fast/dom/shadow/style-with-cat.html
+++ b/LayoutTests/fast/dom/shadow/style-with-cat.html
@@ -388,14 +388,14 @@ sandbox.appendChild(
createDOM('div', {'id': 'host'},
createShadowRoot(
createDOM('style', {},
- document.createTextNode(':host /deep/ span { border: 1px solid red; }')),
+ document.createTextNode(':host /deep/ span { border: 1px solid green; }')),
createDOM('span', {},
document.createTextNode('some text'))),
createShadowRoot(
createDOM('span', {'id': 'target'},
- document.createTextNode('not red border')))));
+ document.createTextNode('green border')))));
-borderColorShouldNotBe('host//target', 'rgb(255, 0, 0)');
+borderColorShouldBe('host//target', 'rgb(0, 128, 0)');
cleanUp();

Powered by Google App Engine
This is Rietveld 408576698