Move parsing of clip-path to a pre-defined function.