| OLD | NEW |
| 1 CONSOLE WARNING: ::shadow pseudo-element is deprecated. See https://www.chromest
atus.com/features/6750456638341120 for more details. |
| 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. | 2 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. |
| 2 Test for ::content with ::shadow and :host. | 3 Test for ::content with ::shadow and :host. |
| 3 | 4 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 6 |
| 6 | 7 |
| 7 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" | 8 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" |
| 8 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" | 9 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" |
| 9 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is not "rgb(255, 0, 0)" | 10 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is not "rgb(255, 0, 0)" |
| 10 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is not "rgb(255, 0, 0)" | 11 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is not "rgb(255, 0, 0)" |
| 11 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
| 12 | 13 |
| 13 TEST COMPLETE | 14 TEST COMPLETE |
| 14 | 15 |
| OLD | NEW |