Skip to content

Commit

Permalink
Remove accidental inclusion of support-legacy-browser() in typey-chro…
Browse files Browse the repository at this point in the history
…ma-kss fork.
  • Loading branch information
JohnAlbin committed Nov 25, 2015
1 parent f311015 commit a7bb489
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions fork-versions/typey-chroma-kss/base/_html5.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ audio,
canvas,
progress,
video {
@if support-legacy-browser(ie, '9') {
@if support-for(ie, 9) {
// Correct `inline-block` display not defined in IE 8/9.
display: inline-block;
}
Expand All @@ -40,7 +40,7 @@ audio:not([controls]) {
height: 0;
}

@if support-legacy-browser(ie, '10') {
@if support-for(ie, 10) {
// Address `[hidden]` styling not present in IE 8/9/10.
[hidden] {
display: none;
Expand Down
4 changes: 2 additions & 2 deletions fork-versions/typey-chroma-kss/base/embedded/_embedded.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// Style guide: base.embedded.img

img {
@if support-legacy-browser(ie, '10') {
@if support-for(ie, 10) {
// Remove border when inside `a` element in IE 8/9/10.
border: 0;
}
Expand All @@ -31,7 +31,7 @@ svg {
// Responsive images
max-width: 100%;
height: auto;
@if support-legacy-browser(ie, '8') {
@if support-for(ie, 8) {
.lt-ie9 & {
// Correct IE 8 not scaling image height when resized.
width: auto;
Expand Down
4 changes: 2 additions & 2 deletions fork-versions/typey-chroma-kss/base/forms/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ input {

input[type="checkbox"],
input[type="radio"] {
@if support-legacy-browser(ie, '10') {
@if support-for(ie, 10) {
// Address box sizing set to `content-box` in IE 8/9/10.
box-sizing: border-box;
// Remove excess padding in IE 8/9/10.
Expand Down Expand Up @@ -220,7 +220,7 @@ fieldset {

legend {
// Correct `color` not being inherited in IE 8/9/10/11.
@if support-legacy-browser(ie, '11') {
@if support-for(ie, 11) {
border: 0;
}
// Align legend text with a fieldset's text while removing left padding so
Expand Down
2 changes: 1 addition & 1 deletion fork-versions/typey-chroma-kss/base/links/_links.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ a:focus {
a:active {
color: color(link-active);

@if support-legacy-browser(ie, '10') {
@if support-for(ie, 10) {
// Remove the gray background color from active links in IE 10.
background-color: transparent;
}
Expand Down
2 changes: 1 addition & 1 deletion fork-versions/typey-chroma-kss/base/text/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ins {
//
// Style guide: base.text.mark

@if support-legacy-browser(ie, '9') {
@if support-for(ie, 9) {
mark {
// Address styling not present in IE 8/9.
background: color(mark-bg);
Expand Down
3 changes: 0 additions & 3 deletions test/fixtures/fork-versions/typey-chroma-kss/output.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ img,
svg {
max-width: 100%;
height: auto; }
.lt-ie9 img, .lt-ie9
svg {
width: auto; }

svg:not(:root) {
overflow: hidden; }
Expand Down

0 comments on commit a7bb489

Please sign in to comment.