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

Dropping IE8 support - it is now on an opt-in basis #192

Merged
merged 1 commit into from
Oct 7, 2016

Conversation

annez
Copy link
Contributor

@annez annez commented Oct 7, 2016

IE8 support has been dropped from media queries and from autoprefixer defaults.

Our defaults are now as follows:

  • "last 5 versions"
  • "Firefox ESR"
  • "Opera > 18"
  • "> 1%"
  • "not Explorer < 9"

This adds in $media-query-legacy-support as a variable in our respond-to mixin that is set to false by default.

Upgrading ustyle to this will results in this:

@include respond-to(tablet, true) {
  .test {     
    display: none;
  }
}

To output

@media screen and (min-width: 768px) {
  .test {
    display: none;
  }
}

Previously, an .ie8 class fallback of the repeated style would be pre-processed as true tells us to support IE8 fallbacks. To revert to this functionality to support IE8, please set:

$media-query-legacy-support: true;

In your application.

Other changes

  • Upgrading autoprefixer for the grunt task
  • Upgrading our copyright notice
  • Upgrading docs to reflect support

Copy link
Contributor

@greenie greenie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@greenie greenie merged commit 933b8bb into master Oct 7, 2016
@annez annez deleted the drop-ie8-support branch November 2, 2016 16:40
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

Successfully merging this pull request may close these issues.

2 participants