| OLD | NEW |
| 1 CONSOLE WARNING: Calling Element.createShadowRoot() for an element which already
hosts a shadow root is deprecated. See https://www.chromestatus.com/features/46
68884095336448 for more details. |
| 1 Test whether :host-context matches a shadow host correctly. | 2 Test whether :host-context matches a shadow host correctly. |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 | 6 |
| 6 :host-context out of shadow tree should not match any shadow hosts. | 7 :host-context out of shadow tree should not match any shadow hosts. |
| 7 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" | 8 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| 8 :host-context with * should not match any shadow hosts. | 9 :host-context with * should not match any shadow hosts. |
| 9 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" | 10 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| 10 :host-context with tag selector should not match any shadow hosts. | 11 :host-context with tag selector should not match any shadow hosts. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 PASS backgroundColorOf('host') is "rgb(255, 0, 0)" | 41 PASS backgroundColorOf('host') is "rgb(255, 0, 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 backgroundColorOf('host/target') is "rgb(0, 128, 0)" |
| 44 :host-context without functional notation should not match any shadow hosts. | 45 :host-context without functional notation should not match any shadow hosts. |
| 45 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" | 46 PASS backgroundColorOf('host') is "rgba(0, 0, 0, 0)" |
| 46 PASS successfullyParsed is true | 47 PASS successfullyParsed is true |
| 47 | 48 |
| 48 TEST COMPLETE | 49 TEST COMPLETE |
| 49 | 50 |
| OLD | NEW |