Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arbitrary limit on browser versions? #1945

Open
thany opened this issue Mar 6, 2015 · 0 comments
Open

Arbitrary limit on browser versions? #1945

thany opened this issue Mar 6, 2015 · 0 comments

Comments

@thany
Copy link

thany commented Mar 6, 2015

Please consider this code:

$supported-browsers: ("chrome", "firefox", "ie", "safari", "opera");
$browser-minimum-versions: (
  "chrome": "41",
  "firefox": "36",
  "ie": "11",
  "safari": "8",
  "opera": "27"
);

So my application supports only the very latest browsers (hooray!), but it rejects the one for Opera:

error includes/scss/default.scss (Line 331 of C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/compass-core-1.0.3/stylesheets/compass/_support.scss: 27 is not a version for opera)

I know the current Opera is not really Opera at all, but "opera": "24" does work, so it appears to accept Chropera versions as well.

Why impose a limit on (some) browser versions? This is not the case for Chrome, which I can define with "chrome": "43" and it'll work happily.

For completeness:

  • Compass 1.0.3
  • Sass 3.4.13
  • Gem system 2.4.6
  • Ruby 2.1.3p242 x64
  • Windows 7 x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant