blob: 8ad6ef4daf6526d4e2b5e0d23438e24d90dbb454 [file] [log] [blame]
crbug.com/337573: Test direct/indirect adjucent and positinal rules under shadow root.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS colorOf(getNodeInComposedTree("host/child2")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child1")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child1")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child1")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child1")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child1")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child4")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child1")) is not "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child2")) is "rgb(0, 128, 0)"
PASS colorOf(getNodeInComposedTree("host/child3")) is not "rgb(0, 128, 0)"
PASS successfullyParsed is true
TEST COMPLETE