You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ruby Sass and LibSass seems to be handling arglist and keywords quite differently.
I don't think the keyword function is supported by LibSass yet – but that aside
keywords should not show in the arglist.
The following tests were done on sassmeister using LibSass 3.2.0-beta.6 and Ruby Sass 3.4.13
@mixintest($arglist...){
/*#{inspect($arglist)}*/
}
// Works@includetest(foo, bar, baz);
// Ruby Sass: /*foo, bar, baz*/ // LibSass : /*foo, bar, baz*/ // LibSass does not inspect as ()@includetest;
// Ruby Sass: /*()*/ // LibSass : /**/ // Ruby Sass throws error – LibSass shows keywords in arglist // (keywords should not show in arglist – see below) @includetest(foo, bar, baz, $keyword: keyword);
// Ruby Sass: "Mixin test1 doesn't have an argument named $keyword." // LibSass : /*foo, bar, baz, $keyword: keyword*/
In order to test the last example in Ruby Sass we need to map the arglist using the keyword function.
Ruby Sass and LibSass seems to be handling arglist and keywords quite differently.
I don't think the keyword function is supported by LibSass yet – but that aside
keywords should not show in the arglist.
The following tests were done on sassmeister using
LibSass 3.2.0-beta.6 and Ruby Sass 3.4.13
In order to test the last example in Ruby Sass we need to map the arglist using the keyword function.
The text was updated successfully, but these errors were encountered: