Compass / compass

Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
http://compass-style.org
Other
6.72k stars 1.18k forks source link

Compass 0.13.alpha.10 doesn't generate IE10 flexbox mixins #1427

Closed mgol closed 11 years ago

mgol commented 11 years ago

Given the following config.rb:

css_dir = "."
sass_dir = "."
output_style = :expanded
relative_assets = true
line_comments = false

and a file styles.scss:

$supported-browsers: ("chrome", "firefox", "ie", "safari");
$browser-minimum-versions: (
    chrome: "30",
    firefox: "24",
    ie: "10",
    safari: "7",
);

@import "compass/css3";

div {
    @include display-flex;
}

I am getting the following styles.css on compass compile:

div {
  display: -webkit-flex;
  display: flex;
}

instead of expected:

div {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
cimmanon commented 11 years ago

Yeah, it won't because the the API changed.

http://beta.compass-style.org/reference/compass/css3/flexbox/

chriseppstein commented 11 years ago

This is expected. See the documentation: http://beta.compass-style.org/reference/compass/css3/flexbox/

The most recent spec version cannot be 100% reproduced with the old specs, so each project must include the code from each spec version as works for their project.

mgol commented 11 years ago

OK, got it, thanks.