Tests for scaled content with masks and mask-type property