Chromium Code Reviews| Index: LayoutTests/fast/dom/shadow/ancestor-pseudo-class-expected.txt |
| diff --git a/LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt b/LayoutTests/fast/dom/shadow/ancestor-pseudo-class-expected.txt |
| similarity index 52% |
| copy from LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt |
| copy to LayoutTests/fast/dom/shadow/ancestor-pseudo-class-expected.txt |
| index b7ed765844787d964f09b2216c6a4f82bab1c854..bd934aa2ff748565602c0d01a3e5af19948b69cf 100644 |
| --- a/LayoutTests/fast/dom/shadow/host-pseudo-class-expected.txt |
| +++ b/LayoutTests/fast/dom/shadow/ancestor-pseudo-class-expected.txt |
| @@ -1,39 +1,41 @@ |
| -Test whether :host matches a shadow host correctly. |
| +Test whether :ancestor matches a shadow host correctly. |
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| -:host out of shadow tree should not match any shadow hosts. |
| +:ancestor out of shadow tree should not match any shadow hosts. |
| PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| -:host with * should not match any shadow hosts. |
| +:ancestor with * should not match any shadow hosts. |
| PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| -:host with tag selector should not match any shadow hosts. |
| +:ancestor with tag selector should not match any shadow hosts. |
| PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| -:host with class selector should not match any shadow hosts. |
| +:ancestor with class selector should not match any shadow hosts. |
| PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| -:host with id selector should not match any shadow hosts. |
| +:ancestor with id selector should not match any shadow hosts. |
| PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| -:host with attribute selector should not match any shadow hosts. |
| +:ancestor with attribute selector should not match any shadow hosts. |
| PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| -:host in a shadow tree should match its shadow host. |
| +:ancestor in a shadow tree should match its shadow host. |
| PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| -:host takes simple selectors and matches when one of the simple selectors matches. |
| +:ancestor with :host in a shadow tree should match its shadow host. |
| PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| -:host matches a shadow host in just a nested shadow tree, not all enclosing shadow trees. |
| +:ancestor takes simple selectors and matches when one of the simple selectors matches. |
| +PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| +:ancestor matches a shadow host in just a nested shadow tree, not all enclosing shadow trees. |
| PASS backgroundColorOf('host1') is "rgba(0, 0, 0, 0)" |
| PASS backgroundColorOf('host1/host2') is "rgb(0, 128, 0)" |
| -:host matches based on a composed tree. |
| +:ancestor matches based on a composed tree. |
| PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)" |
| -:host matches based on a composed tree when having multiple shadow roots. |
| +:ancestor matches based on a composed tree when having multiple shadow roots. |
| PASS backgroundColorOf('host/targetA') is "rgba(0, 0, 0, 0)" |
| PASS backgroundColorOf('host/targetB') is "rgb(0, 128, 0)" |
| PASS backgroundColorOf('host/targetC') is "rgb(0, 128, 0)" |
| -:host is updated when its matched ancestor changes className or id. |
| +:ancestor is updated when its matched ancestor changes className or id. |
| PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| -PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| +FAIL backgroundColorOf('host') should be rgba(0, 0, 0, 0). Was rgb(0, 128, 0). |
|
chrishtr
2014/01/21 23:29:07
Are these failures intended? A refactoring CL I am
|
| PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| -PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| -Compare :host with :host. |
| +FAIL backgroundColorOf('host') should be rgba(0, 0, 0, 0). Was rgb(0, 128, 0). |
| +Compare :ancestor with :ancestor. |
| PASS backgroundColorOf('host') is "rgb(0, 128, 0)" |
| PASS backgroundColorOf('host') is "rgb(255, 0, 0)" |
| PASS backgroundColorOf('host/target') is "rgb(0, 128, 0)" |