diff --git a/test/fixtures/stylesheets/compass/css/legacy_clearfix.css b/test/fixtures/stylesheets/compass/css/legacy_clearfix.css index 2a287628..54086726 100644 --- a/test/fixtures/stylesheets/compass/css/legacy_clearfix.css +++ b/test/fixtures/stylesheets/compass/css/legacy_clearfix.css @@ -15,3 +15,12 @@ visibility: hidden; } .pie-clearfix { display: block; } + +.simplified-pie-clearfix { + display: inline-block; } + .simplified-pie-clearfix:after { + content: ""; + display: table; + clear: both; } + .simplified-pie-clearfix { + display: block; } diff --git a/test/fixtures/stylesheets/compass/css/utilities.css b/test/fixtures/stylesheets/compass/css/utilities.css index 354c84dc..8a6c64b1 100644 --- a/test/fixtures/stylesheets/compass/css/utilities.css +++ b/test/fixtures/stylesheets/compass/css/utilities.css @@ -12,6 +12,13 @@ overflow: hidden; visibility: hidden; } +.simple-pie-clearfix { + *zoom: 1; } + .simple-pie-clearfix:after { + content: ""; + display: table; + clear: both; } + p.light { background-color: #b0201e; color: black; } diff --git a/test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss b/test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss index 5a9f6396..906e49b1 100644 --- a/test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss +++ b/test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss @@ -7,5 +7,8 @@ $default-has-layout-approach: block; } .pie-clearfix { + @include legacy-pie-clearfix; +} +.simplified-pie-clearfix { @include pie-clearfix; } diff --git a/test/fixtures/stylesheets/compass/sass/utilities.scss b/test/fixtures/stylesheets/compass/sass/utilities.scss index 7daac2f6..d579a6ca 100644 --- a/test/fixtures/stylesheets/compass/sass/utilities.scss +++ b/test/fixtures/stylesheets/compass/sass/utilities.scss @@ -5,7 +5,10 @@ } .pie-clearfix { - @include pie-clearfix; + @include legacy-pie-clearfix; +} +.simple-pie-clearfix { + @include pie-clearfix; } p.light { @include contrasted(#B0201E); }