A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sass/libsass/issues/590 below:

Number comparison is different to ruby sass · Issue #590 · sass/libsass · GitHub

I've was looking the current failing specs and noticed a common theme of broken number comparisons. A bunch of outstanding bugs boil down to the following evaluating to true in ruby sass and false in libsass.

a { 
  a: 1/2;
  b: 0.5;
  c: (1/2);
  d: 1/2 == 0.5;
  e: (1/2) == 0.5;
}

Output in Sass 3.4

a {
  a: 1/2;
  b: 0.5;
  c: 0.5;
  d: true;
  e: true; }

Output in Libsass 3.0.0

a {
  a: 1/2;
  b: 0.5;
  c: 0.5;
  d: false;
  e: true; }

Specs added sass/sass-spec#137.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4