content-pseudo-element-with-deep-combinator-and-host-pseudo-class-expected.txt 1.04 KB
Newer Older
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/4964279606312960 for more details.
2
CONSOLE WARNING: line 87: Calling Element.createShadowRoot() for an element which already hosts a shadow root is deprecated. See https://www.chromestatus.com/features/4668884095336448 for more details.
3
Test for ::content with /deep/ and :host.
4 5 6 7 8 9 10 11 12 13 14 15 16

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color is "rgb(0, 128, 0)"
PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color is "rgb(0, 128, 0)"
PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color is "rgb(0, 128, 0)"
PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color is not "rgb(255, 0, 0)"
PASS window.getComputedStyle(document.querySelector("#host1 > .content")).color is "rgb(0, 128, 0)"
PASS successfullyParsed is true

TEST COMPLETE