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 for ::content with ::shadow and :host. | 2 Test for ::content with ::shadow and :host. |
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 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" | 7 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" |
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 not "rgb(255, 0, 0)" | 9 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is not "rgb(255, 0, 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 successfullyParsed is true | 11 PASS successfullyParsed is true |
11 | 12 |
12 TEST COMPLETE | 13 TEST COMPLETE |
13 | 14 |
OLD | NEW |