We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cf324 commit e5129c1Copy full SHA for e5129c1
index.js
@@ -243,8 +243,12 @@ function localizeAnimationShorthandDeclValues(decl, context) {
243
};
244
245
const didParseAnimationName = false;
246
- const parsedAnimationKeywords = {};
+ let parsedAnimationKeywords = {};
247
const valueNodes = valueParser(decl.value).walk((node) => {
248
+ /* If div-token appeared (represents as comma ','), a possibility of an animation-keywords should be reflesh. */
249
+ if (node.type === 'div') {
250
+ parsedAnimationKeywords = {};
251
+ }
252
const value =
253
node.type === 'word' ? node.value.toLowerCase() : null;
254
0 commit comments