Skip to content

Commit

Permalink
test(postcss-convert-values): add test case for #958
Browse files Browse the repository at this point in the history
  • Loading branch information
SkReD authored and ludofischer committed Apr 26, 2021
1 parent d0b659f commit afbccfa
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/postcss-convert-values/src/__tests__/index.js
Expand Up @@ -382,6 +382,26 @@ test(
passthroughCSS('h1{top:0\\9\\0;left:0lightyear}')
);

test(
'should not try to convert keyframe names in animation',
passthroughCSS(
'h1{ -webkit-animation: e836684w2 } h2{ animation: e836684w2 }'
)
);

test(
'should not try to convert keyframe names in animation (case 2)',
passthroughCSS(
`
.e4yw0Q {
animation: e4yw0Q;
}
@keyframes e4yw0Q {}
`
)
);

['stroke-dasharray', 'stroke-dashoffset', 'stroke-width'].forEach(
(property) => {
test(
Expand Down

0 comments on commit afbccfa

Please sign in to comment.