-
Notifications
You must be signed in to change notification settings - Fork 464
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
Interpolation shouldn't be allowed in IE filters outside of argument list #1694
Comments
Thanks for the @andrew-skybound |
test { filter: progid:DXImageTransform.Microsoft.#{Alpha(opacity=20)}; } should not be accepted by libsass sass/libsass#1694
Add tests for test { filter: progid:DXImageTransform.Microsoft.Alpha(opacity=20\); } and test { filter: progid:DXImageTransform.Microsoft.Alpha(opacity=20\)); } sass/libsass#1694
Is this fixed? I wonder because the spec test seems to be active (I get a fail in #1736). But strange enough CI for master seems ok even if I restart it. I also get this problem locally!? |
IMO this should be closed since no longer relevant (last IE version to support filters was IE9). IMO there is no merit to support this in future version of libsass. Feel free to re-open if you see it otherwise. //CC @xzyfer. |
Agree.
On 12 Jan. 2018 9:56 am, "Marcel Greter" <notifications@github.com> wrote:
IMO this should be closed since no longer relevant (last IE version to
support filters was IE9). IMO there is no merit to support this in future
version of libsass. Feel free to re-open if you see it otherwise. //CC
@xzyfer <https://github.com/xzyfer>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1694 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAjZWMyP-G3LRSejL4wCSakntooMVQbTks5tJpGUgaJpZM4GbEgB>
.
|
Three parsing discrepancies to report here, all related to parsing of IE filter values. These are probably trivial (especially the last two) but I figured I might as well report them anyway.
First, Ruby SASS does not permit interpolation to be used in
progid:
values outside of the argument list. For example this is not allowed:Ruby SASS:
Libsass:
Second, Ruby SASS does not allow CSS escapes in
progid:
values either:Ruby SASS:
Libsass:
Finally, it looks like Ruby treats escaped braces in the argument list as ordinary braces for the purpose of determining where the
progid:
value ends; Libsass does not:Ruby SASS:
Libsass:
If you add an unescaped brace to the end, Ruby SASS fails, and Libsass works, but it does not output the second brace.
Ruby SASS:
Libsass:
The text was updated successfully, but these errors were encountered: