Skip to content
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

Issue when css has some errors (May be unrelated) #45

Closed
jawadsahil opened this issue Nov 10, 2015 · 1 comment
Closed

Issue when css has some errors (May be unrelated) #45

jawadsahil opened this issue Nov 10, 2015 · 1 comment
Labels

Comments

@jawadsahil
Copy link

I came across a strange issue that may be of interest to you or may be someone else can face such issue and come here and will find it useful.

I am using SASS for my css, and there was some typo in a file I included... The source css generated was as follows:

.something {
    background: ligthen(#eee, 25%);
}
/* some more css here */
.elm1{
    background : url('../img/abc.jpg');
}
/* some more css here */
.elm2{
     background : #666;
 }

Now I applied RTLCSS on this file... and the result was strange. All background attributes were shifted. and the declaration with typo was containing a temp in it. i.e.

.something {
    background: ligthen(temp, 25%);
}
/* some more css here */
.elm1{
    background : #eee;
}
/* some more css here */
.elm2{
    background : url('../img/abc.jpg');
}

Though removing the error in css solved the issue, but at least RTLCSS should not propagate the error in a strange way .. :)

Thanks

@MohammadYounes
Copy link
Owner

It's a bug, thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants