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

Unified Diff: LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host-expected.txt

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
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html ('k') | Source/core/css/CSSParserValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host-expected.txt
diff --git a/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host-expected.txt b/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host-expected.txt
index 97ee8295632130e2e09f98f5d6f68f35230b88b0..5c24eac5fea49d6e486af14e413337052715a543 100644
--- a/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host-expected.txt
+++ b/LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host-expected.txt
@@ -9,9 +9,11 @@ PASS borderColorOf('host-child') is "rgb(0, 0, 0)"
Test that * in a shadow tree cannot match without :host.
PASS borderColorOf('host') is not "rgb(0, 128, 0)"
PASS borderColorOf('host-child') is "rgb(0, 0, 0)"
-Test that :not(*) in a shadow tree can match without :host.
-PASS borderColorOf('host') is "rgb(0, 128, 0)"
+Test that :not(*) in a shadow tree cannot match without :host.
+PASS borderColorOf('host') is "rgb(0, 0, 0)"
PASS borderColorOf('host-child') is "rgb(0, 0, 0)"
+Test that :first-child in a shadow tree cannot match without :host.
+PASS borderColorOf('host') is "rgb(0, 0, 0)"
Test that styles in a containing treescope wins if specificities are the same.
PASS borderColorOf('host') is "rgb(0, 128, 0)"
Test that rules which has higher specificity win.
« no previous file with comments | « LayoutTests/fast/dom/shadow/shadow-tree-styles-select-host.html ('k') | Source/core/css/CSSParserValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698