`index()` treats both numbers with and without units as the same value.
oscarmarcelo opened this issue · 1 comments
oscarmarcelo commented
Ruby Sass index()
treats both numbers with and without units as the same value.
For example: 1 == 1px
.
input.scss
test {
content: inspect(index(true 1, 1px));
}
Actual results
ruby sass 3.7.2
test {
content: 2; }
Expected result
dart sass 1.6.2
test {
content: null; }
LibSass also has the same error. sass/libsass#2810
test {
content: 2; }
nex3 commented
Duplicate of sass/sass#1496.
This will not be fixed in Ruby Sass, because Ruby Sass is deprecated and will cease to be maintained at the end of March.