OLD | NEW |
| (Empty) |
1 CONSOLE WARNING: line 1: /deep/ combinator is deprecated and will be a no-op in
M60, around August 2017. See https://www.chromestatus.com/features/4964279606312
960 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 /deep/ 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 "rgb(0, 128, 0)" | |
11 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is not "rgb(255, 0, 0)" | |
12 PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color
is "rgb(0, 128, 0)" | |
13 PASS successfullyParsed is true | |
14 | |
15 TEST COMPLETE | |
16 | |
OLD | NEW |