Skip to content

Commit

Permalink
remove and/or update caniuse mappings for IE 8
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkettner committed Feb 28, 2015
1 parent 0516440 commit 066de32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions test/browser/integration/caniuse.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ window.caniusecb = function(caniuse) {
canvas: 'canvas',
canvasblending: 'canvas-blending',
canvastext: 'canvas-text',
checked: 'css-sel3',
classlist: 'classlist',
contenteditable: 'contenteditable',
contextmenu: 'menu',
Expand Down Expand Up @@ -56,7 +55,6 @@ window.caniusecb = function(caniuse) {
displaytable: 'css-table',
draganddrop: 'dragndrop',
eventsource: 'eventsource',
fileinput: 'forms',
filereader: 'fileapi',
filesystem: 'filesystem',
flexbox: 'flexbox',
Expand All @@ -77,7 +75,6 @@ window.caniusecb = function(caniuse) {
inputtypes: 'forms',
jpegxr: 'jpegxr',
json: 'json',
lastchild: 'css-sel3',
localstorage: 'namevalue-storage',
mathml: 'mathml',
mediaqueries: 'css-mediaqueries',
Expand Down Expand Up @@ -160,6 +157,10 @@ window.caniusecb = function(caniuse) {
});
}

// caniuse counts `filter` opacity as partial support - we don't.
if (o.feature === 'opacity' && o.browser = 'IE' && o.version < 9) {
return;
}

// change the *documented* false positives
if (!ciubool && (o.feature == 'textshadow' && o.browser == 'firefox' && o.version == 3)) {
Expand Down
4 changes: 2 additions & 2 deletions test/browser/src/atRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ describe('atRule', function() {
});
});

it('always returns false when the browser does not support CSSRule', function() {
it('returns undefined when the browser does not support CSSRule', function() {
var ref = window.CSSRule;
window.CSSRule = undefined;

expect(atRule('charset')).to.be(false);
expect(atRule('charset')).to.be(undefined);

window.CSSRule = ref;
});
Expand Down

0 comments on commit 066de32

Please sign in to comment.