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

Unified Diff: LayoutTests/fast/dom/shadow/host-pseudo-class.html

Issue 208933006: Only :host and :ancestor should ever match the host in a ShadowRoot (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a test for :first-child too 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/host-pseudo-class.html
diff --git a/LayoutTests/fast/dom/shadow/host-pseudo-class.html b/LayoutTests/fast/dom/shadow/host-pseudo-class.html
index 7d87996c273e473648c40b59e66f65616a611346..925fb686dd59e41d41aab9edf6989aab3c28ea27 100644
--- a/LayoutTests/fast/dom/shadow/host-pseudo-class.html
+++ b/LayoutTests/fast/dom/shadow/host-pseudo-class.html
@@ -53,7 +53,7 @@ sandbox.appendChild(
createDOM('div', {},
document.createTextNode('Hello')))));
-backgroundColorShouldBe('host', 'rgb(0, 128, 0)');
+backgroundColorShouldBe('host', 'rgba(0, 0, 0, 0)');
cleanUp();

Powered by Google App Engine
This is Rietveld 408576698