Closed Reinmar closed 8 years ago
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
Yup, our entire web app of 14k lines of CSS crumbles in Safari 9 because of one semi-colon due to lesshat keyframes mixin.
+1
+1
Sorry guys for waiting so long. I've merged #166 so it should be fixed. If the problem persist let me know and I'll open the issue again.
This has been fixed in 4.0.1.
There's a problem in Safari 9 now, that CSS generated by LESS+LESSHat breaks the entire parser if the
keyframes()
function was used.This is the rule that causes this issue:
It's generated from:
The problem is in the semicolon at the end of the last keyframe. After manually removing it everything is working fine.
This is a critical issue because Safari totally gives up on parsing once it encounters a syntax issue. I guess that this issue is related to #93. That semicolon seems to terminate the
-lh-property: 0...
value that LESS Hat uses to workaround the inability to generate keyframes in LESS.