Makes grid size parser to handle not only calc() but min(), max() and other CSS functions we support.