chriseppstein/compass — Issue #641: Optimize output of mixin inline-block
Author: NoNoNo
Created: 2011-12-06 14:24:26+00:00
State: open

With Compass 0.11.5 && Sass 3.1.11 this SASS

````SASS
A {
@include inline-block;
}
````

is compiled to this CSS

````CSS
A {
display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
}
A {
*display: inline;
}
````

I propose the output in only one rule:

````CSS
A {
*display: inline;
display: -moz-inline-box;
-moz-box-orient: vertical;
display: inline-block;
vertical-align: middle;
*vertical-align: auto;
}
````

(And the authoritative ›display‹ declaration should be after the legacy / proprietary declarations)

Thanks & greetings!