Verify stylesheet syntax before saving