Revert "Fixing css validation. If optimization gives validation errors, it is more reasonable to prefer css without validation."

This reverts commit b08bdc0bea72c3e9268f495bc641e4f1115b4676.