Skip to content

Commit d6dfd3f

Browse files
committed
Update normalize.js
1 parent 92ac4db commit d6dfd3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/normalize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ const prepareProperties = (properties, opt = {}) => {
12561256
}
12571257
if (!omitShorthandProperty) {
12581258
if (property === BACKGROUND) {
1259-
if (priority) {
1259+
if (hasVarFunc(value) || priority) {
12601260
parsedProperties.set(property, { property, value, priority });
12611261
}
12621262
} else {

0 commit comments

Comments
 (0)