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

Side by Side Diff: LayoutTests/fast/dom/shadow/hostcontext-pseudo-class-expected.txt

Issue 212513002: :host-context should support functional notation only. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test for invalid :host-context. 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 unified diff | Download patch
OLDNEW
1 Test whether :host-context matches a shadow host correctly. 1 Test whether :host-context matches a shadow host correctly.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 :host-context out of shadow tree should not match any shadow hosts. 6 :host-context out of shadow tree should not match any shadow hosts.
7 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" 7 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
8 :host-context with * should not match any shadow hosts. 8 :host-context with * should not match any shadow hosts.
9 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" 9 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
10 :host-context with tag selector should not match any shadow hosts. 10 :host-context with tag selector should not match any shadow hosts.
(...skipping 23 matching lines...) Expand all
34 PASS backgroundColorOf('host') is "rgb(0, 128, 0)" 34 PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
35 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" 35 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
36 PASS backgroundColorOf('host') is "rgb(0, 128, 0)" 36 PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
37 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" 37 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
38 Compare :host-context with :host-context. 38 Compare :host-context with :host-context.
39 PASS backgroundColorOf('host') is "rgb(0, 128, 0)" 39 PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
40 PASS backgroundColorOf('host') is "rgb(255, 0, 0)" 40 PASS backgroundColorOf('host') is "rgb(255, 0, 0)"
41 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)" 41 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)"
42 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)" 42 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)"
43 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)" 43 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)"
44 :host-context without functional notation should not match any shadow hosts.
45 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
44 PASS successfullyParsed is true 46 PASS successfullyParsed is true
45 47
46 TEST COMPLETE 48 TEST COMPLETE
47 49
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/hostcontext-pseudo-class.html ('k') | Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698