[css mode] Better handling of parentheses in property values

Issue #2551