OLD | NEW |
| (Empty) |
1 CONSOLE WARNING: line 1: ::shadow pseudo-element is deprecated and will be remov
ed in M60, around August 2017. See https://www.chromestatus.com/features/6750456
638341120 for more details. | |
2 CONSOLE WARNING: line 87: Calling Element.createShadowRoot() for an element whic
h already hosts a shadow root is deprecated. See https://www.chromestatus.com/fe
atures/4668884095336448 for more details. | |
3 Test for ::content with ::shadow and :host. | |
4 | |
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
6 | |
7 | |
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)" | |
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)" | |
12 PASS successfullyParsed is true | |
13 | |
14 TEST COMPLETE | |
15 | |
OLD | NEW |