This test ensures that if the only thing that scrolls is a composited layer,
we do not repaint. It passes if we repaint when we have to draw the selection
block gaps or if we have content that is not in a composited layer. It also
checks that we do not repaint when all the content is in a composited layer.