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
Given two integers, x and y, normal behavior is: x / y * y => x
With certain values for x, however: x / y * y => x.0
Under normal circumstances, this is not much of a problem; e.g., for font size, it's nbd. However, this behavior causes some calls to the random function to fail unexpectedly, as that function expects an integer for the $limit parameter.
Bug exists in Ruby Sass as well; see sass/sass#1819.
Given two integers,
x
andy
, normal behavior is:x / y * y => x
With certain values for x, however:
x / y * y => x.0
Under normal circumstances, this is not much of a problem; e.g., for font size, it's nbd. However, this behavior causes some calls to the
random
function to fail unexpectedly, as that function expects an integer for the$limit
parameter.Example here: http://sassmeister.com/gist/247d0a8155bed38bbca2.
The text was updated successfully, but these errors were encountered: