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

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

Issue 16194002: Make ScopedStyleResolver use apply-author-styles of a given element's treescope. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rewrite layout test Created 7 years, 7 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/css/style-scoped/style-scoped-apply-author-styles-expected.txt
diff --git a/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles-expected.txt b/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles-expected.txt
index 39e3aa8c5d0095cd2fab37fc4edf9ecc39039100..c72685a8b53bd46a11e23339d63ce0de3ef35a53 100644
--- a/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles-expected.txt
+++ b/LayoutTests/fast/css/style-scoped/style-scoped-apply-author-styles-expected.txt
@@ -3,34 +3,34 @@ PASS successfullyParsed is true
TEST COMPLETE
test a scoped style in document is applied to a node in shadow dom subtree when apply-author-styles is true.
-target: rgb(0, 0, 0)
-target: rgb(255, 0, 0)
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(255, 0, 0)"
test a style in an enclosing shadow dom tree is applied to a node in shadow subtree when apply-author-styles is true.
-target: rgb(0, 0, 0)
-target: rgb(255, 0, 0)
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(255, 0, 0)"
test a scoped style in an enclosing shadow dom tree is applied to a node in shadow subtree when apply-author-styles is true and the node is in the scope.
-targetInScope: rgb(0, 0, 0)
-targetOutOfScope: rgb(0, 0, 0)
-targetInScope: rgb(255, 0, 0)
-targetOutOfScope: rgb(0, 0, 0)
-test a style in a shadow subtree is applied to a node in its descendant shadow subtree when all apply-author-styles in shadow subtrees between the shadow subtree and the descendant are true.
-target: rgb(0, 0, 0)
-target: rgb(255, 0, 0)
-target: rgb(0, 0, 255)
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(255, 0, 0)"
+PASS borderColor is "rgb(0, 0, 0)"
+test styles declared in enclosing shadow trees should be applied to an enclosed shadow tree whose apply-atur-styles is true.
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(0, 0, 255)"
+PASS borderColor is "rgb(0, 0, 255)"
test a style in document is applied to nodes in multiple shadow subtrees when apply-author-styles is true.
-oldestShadow: rgb(0, 0, 0)
-olderShadow: rgb(0, 0, 255)
-target: rgb(0, 0, 0)
-oldestShadow: rgb(0, 0, 0)
-olderShadow: rgb(0, 0, 255)
-target: rgb(255, 0, 0)
-oldestShadow: rgb(0, 0, 0)
-olderShadow: rgb(0, 0, 255)
-target: rgb(0, 0, 0)
-oldestShadow: rgb(255, 0, 0)
-olderShadow: rgb(0, 0, 255)
-target: rgb(0, 0, 0)
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(0, 0, 255)"
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(0, 0, 255)"
+PASS borderColor is "rgb(255, 0, 0)"
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(0, 0, 255)"
+PASS borderColor is "rgb(0, 0, 0)"
+PASS borderColor is "rgb(255, 0, 0)"
+PASS borderColor is "rgb(0, 0, 255)"
+PASS borderColor is "rgb(0, 0, 0)"
test a style is applied in document order.
-target: rgb(255, 255, 0)
-target: rgb(0, 128, 0)
+PASS borderColor is "rgb(255, 255, 0)"
+PASS borderColor is "rgb(0, 128, 0)"

Powered by Google App Engine
This is Rietveld 408576698