私はv0.10.5を実行しており、ソースコードの部分的な/Library/Ruby/Gems/1.8/gems/compass-0.10.5/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss
読み取りは次のとおりです。
// This basic method is preferred for the usual case, when positioned
// content will not show outside the bounds of the container.
//
// Recommendations include using this in conjunction with a width.
// Credit: [quirksmode.org](http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html)
@mixin clearfix {
overflow: hidden;
@include has-layout;
}
これは SCSS 構文ですが、参照している SASS 構文にかなり直接的に類似しています。ミックスインは同じディレクトリのパーシャルにhas-layout
含まれており、_hacks.scss
IE に固有のもののようです。