Skip to content

Commit

Permalink
update test for pie-clearfix
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Jun 12, 2011
1 parent 6ca90dc commit a6a8022
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
9 changes: 9 additions & 0 deletions test/fixtures/stylesheets/compass/css/legacy_clearfix.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
7 changes: 7 additions & 0 deletions test/fixtures/stylesheets/compass/css/utilities.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
3 changes: 3 additions & 0 deletions test/fixtures/stylesheets/compass/sass/legacy_clearfix.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ $default-has-layout-approach: block;
}

.pie-clearfix {
@include legacy-pie-clearfix;
}
.simplified-pie-clearfix {
@include pie-clearfix;
}
5 changes: 4 additions & 1 deletion test/fixtures/stylesheets/compass/sass/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
}

.pie-clearfix {
@include pie-clearfix;
@include legacy-pie-clearfix;
}
.simple-pie-clearfix {
@include pie-clearfix;
}

p.light { @include contrasted(#B0201E); }
Expand Down

0 comments on commit a6a8022

Please sign in to comment.