Detect which calc function and transform property should be used