dotless/dotless — Issue #100: Dotless does not accept -ms-filter
Author: WouterBos
Created: 2011-11-03 06:11:22+00:00
State: open

Hi,

If I have this piece of code below it works fine:

.gp_opacity(@opacity: 0.5) {
opacity: @opacity;
filter: ~"alpha(opacity=@{opacity});"
}

if I add a -ms-filter line to it like this:

.gp_opacity(@opacity: 0.5) {
opacity: @opacity;
-ms-filter: ~"'progid:DXImageTransform.Microsoft.Alpha(Opacity=@{opacity})';"
filter: ~"alpha(opacity=@{opacity});"
}

I get:

Expected '}' on line 20 in file 'gp_functions.less':
[19]:	opacity: @opacity;
[20]:	-ms-filter: ~"'progid:DXImageTransform.Microsoft.Alpha(Opacity=@{opacity})';"
-^
[21]:	filter: ~"alpha(opacity=@{opacity});"