| OLD | NEW |
| 1 Test for issue 247275: shadow tree styles selects shadow host. | 1 Test for issue 247275: shadow tree styles selects shadow host. |
| 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 Test that tag selectors in a shadow tree cannot match without :host. | 6 Test that tag selectors in a shadow tree cannot match without :host. |
| 7 PASS borderColorOf('host') is "rgb(0, 0, 0)" | 7 PASS borderColorOf('host') is "rgb(0, 0, 0)" |
| 8 PASS borderColorOf('host-child') is "rgb(0, 0, 0)" | 8 PASS borderColorOf('host-child') is "rgb(0, 0, 0)" |
| 9 Test that * in a shadow tree cannot match without :host. | 9 Test that * in a shadow tree cannot match without :host. |
| 10 PASS borderColorOf('host') is not "rgb(0, 128, 0)" | 10 PASS borderColorOf('host') is not "rgb(0, 128, 0)" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 Test that child selector with a shadow host and children of a shadow root of the
shadow host works. | 21 Test that child selector with a shadow host and children of a shadow root of the
shadow host works. |
| 22 PASS borderColorOf('divA') is "rgb(0, 0, 0)" | 22 PASS borderColorOf('divA') is "rgb(0, 0, 0)" |
| 23 PASS borderColorOf('divA-child') is "rgb(0, 0, 0)" | 23 PASS borderColorOf('divA-child') is "rgb(0, 0, 0)" |
| 24 PASS borderColorOf('host') is "rgb(0, 0, 0)" | 24 PASS borderColorOf('host') is "rgb(0, 0, 0)" |
| 25 PASS borderColorOf('host/divC') is "rgb(0, 128, 0)" | 25 PASS borderColorOf('host/divC') is "rgb(0, 128, 0)" |
| 26 PASS borderColorOf('host-child') is "rgb(0, 0, 0)" | 26 PASS borderColorOf('host-child') is "rgb(0, 0, 0)" |
| 27 Test that descendant selector with a shadow host and descendants of a shadow roo
t of the shadow host works. | 27 Test that descendant selector with a shadow host and descendants of a shadow roo
t of the shadow host works. |
| 28 PASS borderColorOf('host/spanD') is "rgb(255, 0, 0)" | 28 PASS borderColorOf('host/spanD') is "rgb(255, 0, 0)" |
| 29 Test the case where there are no styles in a contanining treescope. | 29 Test the case where there are no styles in a contanining treescope. |
| 30 PASS borderColorOf('host/target') is "rgb(0, 128, 0)" | 30 PASS borderColorOf('host/target') is "rgb(0, 128, 0)" |
| 31 Test the case where there exists a style scoped in a contanining treescope. |
| 32 PASS borderColorOf('host') is "rgb(255, 0, 0)" |
| 31 Test that style sharing is disabled when styles in shadow trees would match shad
ow hosts. | 33 Test that style sharing is disabled when styles in shadow trees would match shad
ow hosts. |
| 32 PASS borderColorOf('hostA') is "rgb(255, 0, 0)" | 34 PASS borderColorOf('hostA') is "rgb(255, 0, 0)" |
| 33 PASS borderColorOf('hostB') is "rgb(0, 128, 0)" | 35 PASS borderColorOf('hostB') is "rgb(0, 128, 0)" |
| 34 PASS successfullyParsed is true | 36 PASS successfullyParsed is true |
| 35 | 37 |
| 36 TEST COMPLETE | 38 TEST COMPLETE |
| 37 | 39 |
| OLD | NEW |