CSS Masking: Panning with clipPath and mask nesting 2 svg Multiple references between clipPath and mask elements. The current viewport gets translated by panning. You should see a green square with 4 equally sized and positioned white squares in it.