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

Unified Diff: LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html

Issue 102953007: Selectors in styles in shadowRoots should match in all of the host's shadowRoots. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/style-scoped/style-scoped-apply-author-styles-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html b/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
index 4bba31e6346d364bb5a3e4d5d5f96c48f93aea7d..d4cd215afa1d2a3353a1687be87516b88be10ae6 100644
--- a/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
+++ b/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles.html
@@ -158,9 +158,9 @@ function testMultipleShadow()
getNodeInTreeOfTrees('host///').applyAuthorStyles = false;
// before
- borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 255)');
borderColorShouldBe(getNodeInTreeOfTrees('host//olderShadow'), 'rgb(0, 0, 255)');
- borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 255)');
// document ---+--- oldestShadow
// |
@@ -170,23 +170,23 @@ function testMultipleShadow()
// apply-author-styles affects between shadow and document.
getNodeInTreeOfTrees('host///').applyAuthorStyles = true;
- borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 255)');
borderColorShouldBe(getNodeInTreeOfTrees('host//olderShadow'), 'rgb(0, 0, 255)');
- borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(255, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 255)');
// apply-author-styles affects between older shadow and document.
getNodeInTreeOfTrees('host///').applyAuthorStyles = false;
getNodeInTreeOfTrees('host//').applyAuthorStyles = true;
- borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 255)');
borderColorShouldBe(getNodeInTreeOfTrees('host//olderShadow'), 'rgb(0, 0, 255)');
- borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 255)');
// apply-author-styles affects between oldest shadow and document.
getNodeInTreeOfTrees('host//').applyAuthorStyles = false;
getNodeInTreeOfTrees('host/').applyAuthorStyles = true;
- borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(255, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host/oldestShadow'), 'rgb(0, 0, 255)');
borderColorShouldBe(getNodeInTreeOfTrees('host//olderShadow'), 'rgb(0, 0, 255)');
- borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 0)');
+ borderColorShouldBe(getNodeInTreeOfTrees('host///target'), 'rgb(0, 0, 255)');
cleanUp();
}
« no previous file with comments | « no previous file | LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698