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

Side by Side 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, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 PASS window.internals is defined. 1 PASS window.internals is defined.
2 PASS successfullyParsed is true 2 PASS successfullyParsed is true
3 3
4 TEST COMPLETE 4 TEST COMPLETE
5 test a scoped style in document is applied to a node in shadow dom subtree when apply-author-styles is true. 5 test a scoped style in document is applied to a node in shadow dom subtree when apply-author-styles is true.
6 target: rgb(0, 0, 0) 6 PASS borderColor is "rgb(0, 0, 0)"
7 target: rgb(255, 0, 0) 7 PASS borderColor is "rgb(255, 0, 0)"
8 test a style in an enclosing shadow dom tree is applied to a node in shadow subt ree when apply-author-styles is true. 8 test a style in an enclosing shadow dom tree is applied to a node in shadow subt ree when apply-author-styles is true.
9 target: rgb(0, 0, 0) 9 PASS borderColor is "rgb(0, 0, 0)"
10 target: rgb(255, 0, 0) 10 PASS borderColor is "rgb(255, 0, 0)"
11 test a scoped style in an enclosing shadow dom tree is applied to a node in shad ow subtree when apply-author-styles is true and the node is in the scope. 11 test a scoped style in an enclosing shadow dom tree is applied to a node in shad ow subtree when apply-author-styles is true and the node is in the scope.
12 targetInScope: rgb(0, 0, 0) 12 PASS borderColor is "rgb(0, 0, 0)"
13 targetOutOfScope: rgb(0, 0, 0) 13 PASS borderColor is "rgb(0, 0, 0)"
14 targetInScope: rgb(255, 0, 0) 14 PASS borderColor is "rgb(255, 0, 0)"
15 targetOutOfScope: rgb(0, 0, 0) 15 PASS borderColor is "rgb(0, 0, 0)"
16 test a style in a shadow subtree is applied to a node in its descendant shadow s ubtree when all apply-author-styles in shadow subtrees between the shadow subtre e and the descendant are true. 16 test styles declared in enclosing shadow trees should be applied to an enclosed shadow tree whose apply-atur-styles is true.
17 target: rgb(0, 0, 0) 17 PASS borderColor is "rgb(0, 0, 0)"
18 target: rgb(255, 0, 0) 18 PASS borderColor is "rgb(0, 0, 255)"
19 target: rgb(0, 0, 255) 19 PASS borderColor is "rgb(0, 0, 255)"
20 test a style in document is applied to nodes in multiple shadow subtrees when ap ply-author-styles is true. 20 test a style in document is applied to nodes in multiple shadow subtrees when ap ply-author-styles is true.
21 oldestShadow: rgb(0, 0, 0) 21 PASS borderColor is "rgb(0, 0, 0)"
22 olderShadow: rgb(0, 0, 255) 22 PASS borderColor is "rgb(0, 0, 255)"
23 target: rgb(0, 0, 0) 23 PASS borderColor is "rgb(0, 0, 0)"
24 oldestShadow: rgb(0, 0, 0) 24 PASS borderColor is "rgb(0, 0, 0)"
25 olderShadow: rgb(0, 0, 255) 25 PASS borderColor is "rgb(0, 0, 255)"
26 target: rgb(255, 0, 0) 26 PASS borderColor is "rgb(255, 0, 0)"
27 oldestShadow: rgb(0, 0, 0) 27 PASS borderColor is "rgb(0, 0, 0)"
28 olderShadow: rgb(0, 0, 255) 28 PASS borderColor is "rgb(0, 0, 255)"
29 target: rgb(0, 0, 0) 29 PASS borderColor is "rgb(0, 0, 0)"
30 oldestShadow: rgb(255, 0, 0) 30 PASS borderColor is "rgb(255, 0, 0)"
31 olderShadow: rgb(0, 0, 255) 31 PASS borderColor is "rgb(0, 0, 255)"
32 target: rgb(0, 0, 0) 32 PASS borderColor is "rgb(0, 0, 0)"
33 test a style is applied in document order. 33 test a style is applied in document order.
34 target: rgb(255, 255, 0) 34 PASS borderColor is "rgb(255, 255, 0)"
35 target: rgb(0, 128, 0) 35 PASS borderColor is "rgb(0, 128, 0)"
36 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698