Ensure cross-browser compatibility for perspective and perspective-origin declarations.