This tests that a top layer element is not rendered if it, or an ancestor, has display: none. It passes if you see a green rectangle stacked on top of a blue rectangle, and see no red rectangles.