-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Less v3.0.0 incorrectly processes a base64-encoded style sheets #3165
Comments
Less expects your @import (css) url("data:text/css;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IGxpbWUgIWltcG9ydGFudDsgfQ=="); |
This code worked in version 2.7.3. |
This was a bug actually. See #2955 for more details. |
Right. So the fact it worked in 2.7.3 was actually a bug, probably just because the "css" string was in |
It would've perhaps been better if LESS had never used |
They are myriads. 100% compatibility is never possible.
It's not an excuse to over-engineer the language just for the sake of "easy quick start". |
Myriads? Could you name a couple please? Meanwhile, I have a counter-example. There is a famous trick with namespacing Twitter Bootstrap: .foo {
@import (less) './bootstrap.css';
} The fact that this works proves that the degree of compatibility is really high. |
It is, otherwise it would not be declared as a CSS superset. Still 1000 incompatibilities (of infinite language feature combinations in total) is a myriad. (It does not mean you'll ever face more than two or three of them though. Just like most of average users will never face
A quick walk through issues here could give some ideas (it's too tedious to build a list for even two or three when each sounds like
or longer). |
If you compile the following code:
then get the following error:
The text was updated successfully, but these errors were encountered: