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

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

Issue 143653010: Refactor RuleFeatureSet to simplify iteration over CSS Selectors when collecting data. (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/css/RuleFeature.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test whether :ancestor matches a shadow host correctly. 1 Test whether :ancestor 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 :ancestor out of shadow tree should not match any shadow hosts. 6 :ancestor 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 :ancestor with * should not match any shadow hosts. 8 :ancestor with * should not match any shadow hosts.
9 PASS backgroundColorOf('host') is "rgb(0, 128, 0)" 9 PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
10 :ancestor with tag selector should not match any shadow hosts. 10 :ancestor with tag selector should not match any shadow hosts.
(...skipping 14 matching lines...) Expand all
25 PASS backgroundColorOf('host1') is "rgba(0, 0, 0, 0)" 25 PASS backgroundColorOf('host1') is "rgba(0, 0, 0, 0)"
26 PASS backgroundColorOf('host1/host2') is "rgb(0, 128, 0)" 26 PASS backgroundColorOf('host1/host2') is "rgb(0, 128, 0)"
27 :ancestor matches based on a composed tree. 27 :ancestor matches based on a composed tree.
28 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)" 28 PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)"
29 :ancestor matches based on a composed tree when having multiple shadow roots. 29 :ancestor matches based on a composed tree when having multiple shadow roots.
30 PASS backgroundColorOf('host/targetA') is "rgba(0, 0, 0, 0)" 30 PASS backgroundColorOf('host/targetA') is "rgba(0, 0, 0, 0)"
31 PASS backgroundColorOf('host/targetB') is "rgb(0, 128, 0)" 31 PASS backgroundColorOf('host/targetB') is "rgb(0, 128, 0)"
32 PASS backgroundColorOf('host/targetC') is "rgb(0, 128, 0)" 32 PASS backgroundColorOf('host/targetC') is "rgb(0, 128, 0)"
33 :ancestor is updated when its matched ancestor changes className or id. 33 :ancestor is updated when its matched ancestor changes className or id.
34 PASS backgroundColorOf('host') is "rgb(0, 128, 0)" 34 PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
35 FAIL backgroundColorOf('host') should be rgba(0, 0, 0, 0). Was rgb(0, 128, 0). 35 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
chrishtr 2014/01/23 00:12:38 I pinged tasak@ about this, crrev.com/138023007
36 PASS backgroundColorOf('host') is "rgb(0, 128, 0)" 36 PASS backgroundColorOf('host') is "rgb(0, 128, 0)"
37 FAIL backgroundColorOf('host') should be rgba(0, 0, 0, 0). Was rgb(0, 128, 0). 37 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)"
38 Compare :ancestor with :ancestor. 38 Compare :ancestor with :ancestor.
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 PASS successfullyParsed is true 44 PASS successfullyParsed is true
45 45
46 TEST COMPLETE 46 TEST COMPLETE
47 47
OLDNEW
« no previous file with comments | « no previous file | Source/core/css/RuleFeature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698