diff --git a/fork-versions/typey-chroma-kss/base/_html5.scss b/fork-versions/typey-chroma-kss/base/_html5.scss index 3aef08601..fba788bf9 100644 --- a/fork-versions/typey-chroma-kss/base/_html5.scss +++ b/fork-versions/typey-chroma-kss/base/_html5.scss @@ -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; } @@ -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; diff --git a/fork-versions/typey-chroma-kss/base/embedded/_embedded.scss b/fork-versions/typey-chroma-kss/base/embedded/_embedded.scss index dc29b3c3a..652d3a20a 100644 --- a/fork-versions/typey-chroma-kss/base/embedded/_embedded.scss +++ b/fork-versions/typey-chroma-kss/base/embedded/_embedded.scss @@ -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; } @@ -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; diff --git a/fork-versions/typey-chroma-kss/base/forms/_forms.scss b/fork-versions/typey-chroma-kss/base/forms/_forms.scss index bb5908b49..93940d560 100644 --- a/fork-versions/typey-chroma-kss/base/forms/_forms.scss +++ b/fork-versions/typey-chroma-kss/base/forms/_forms.scss @@ -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. @@ -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 diff --git a/fork-versions/typey-chroma-kss/base/links/_links.scss b/fork-versions/typey-chroma-kss/base/links/_links.scss index 1ab0f290c..a1a7562ee 100644 --- a/fork-versions/typey-chroma-kss/base/links/_links.scss +++ b/fork-versions/typey-chroma-kss/base/links/_links.scss @@ -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; } diff --git a/fork-versions/typey-chroma-kss/base/text/_text.scss b/fork-versions/typey-chroma-kss/base/text/_text.scss index 185bd342f..83713a9a6 100644 --- a/fork-versions/typey-chroma-kss/base/text/_text.scss +++ b/fork-versions/typey-chroma-kss/base/text/_text.scss @@ -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); diff --git a/test/fixtures/fork-versions/typey-chroma-kss/output.css b/test/fixtures/fork-versions/typey-chroma-kss/output.css index 6d2f52f52..d65a114a6 100644 --- a/test/fixtures/fork-versions/typey-chroma-kss/output.css +++ b/test/fixtures/fork-versions/typey-chroma-kss/output.css @@ -204,9 +204,6 @@ img, svg { max-width: 100%; height: auto; } - .lt-ie9 img, .lt-ie9 - svg { - width: auto; } svg:not(:root) { overflow: hidden; }