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 93939a3 commit e8391d8Copy full SHA for e8391d8
index.js
@@ -125,7 +125,7 @@ module.exports = function(css){
125
var m;
126
var vals = [];
127
128
- while (m = match(/^(from|to|\d+%)\s*/)) {
+ while (m = match(/^(from|to|\d+%|\.\d+%|\d+\.\d+%)\s*/)) {
129
vals.push(m[1]);
130
match(/^,\s*/);
131
}
test/cases/keyframes.complex.css
@@ -1,7 +1,7 @@
1
@keyframes foo {
2
0% { top: 0; left: 0 }
3
- 30% { top: 50px }
4
- 68% ,
+ 30.50% { top: 50px }
+ .68% ,
5
72%
6
, 85% { left: 50px }
7
100% { top: 100px; left: 100% }
test/cases/keyframes.complex.json
@@ -21,7 +21,7 @@
21
},
22
{
23
"values": [
24
- "30%"
+ "30.50%"
25
],
26
"declarations": [
27
@@ -32,7 +32,7 @@
32
33
34
35
- "68%",
+ ".68%",
36
"72%",
37
"85%"
38
0 commit comments